0

In this script

#!/bin/sh
set -e
exec svlogd ./main

Do you know what set -e does? I searched man and Google without luck

1
  • man bash | less -p '-e': fifth match...
    – jasonwryan
    Nov 5, 2014 at 6:48

1 Answer 1

4

You need to improve your google-fu.

help set:

-e  Exit immediately if a command exits with a non-zero status.
1
  • 1
    I should improve my help-fu
    – rtacconi
    Nov 4, 2014 at 21:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.