[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Script for enabling/disabling quiet points for snapshots

  • Thread starter Thread starter gus bjorklund
  • Start date Start date
Status
Not open for further replies.
G

gus bjorklund

Guest
> > So, now George hijacked my thread? :D > > I'm doing sleep 5 >/dev/null 2>&1 to be (absolutely as) sure (as I can) that te script doesn't ouput anything unexpected. I read somewhere that any output from the pre-freeze-script.sh will be interpreted as a failure. Somewhere else I read that an exit 1 means failure and exit 0 means success. I have yet to test that. > ooops. sorry about that. yes, exit 0 means success and exit 1 means failure (actually exit nonzero). this has been so since the epoch began. on UNIX and Linux, true for shell scripts as well as executables. fyi, sleep is a inbuilt command that is part of the shell. if you are using bash, here is doco: www.gnu.org/.../ (bash doc is there even if you arent using bash :)) regards, gus “less is my favorite editor. too bad it can’t actually edit files.” Chris Lesniewski-Laas

Continue reading...
 
Status
Not open for further replies.
Back
Top