View Single Post
  #2   (View Single Post)  
Old 20th October 2017
ibara ibara is offline
OpenBSD language porter
 
Join Date: Jan 2014
Posts: 783
Default

Like most other shell utilities, doas(1) returns 0 on success and >0 on failure. You can wrap that in a loop.
Reply With Quote