In linux, when you have a bash script, what is the command to add at top of script (right after #!/bin/bash) to ensure script exits on any error (so errors don't snowball)?
Answer
set -e
Question
In linux, when you have a bash script, what is the command to add at top of script (right after #!/bin/bash) to ensure script exits on any error (so errors don't snowball)?
Answer
?
Question
In linux, when you have a bash script, what is the command to add at top of script (right after #!/bin/bash) to ensure script exits on any error (so errors don't snowball)?
Answer
set -e
Summary
status
not learned
measured difficulty
37% [default]
last interval [days]
repetition number in this series
0
memorised on
scheduled repetition
scheduled repetition interval
last repetition or drill
Details
No repetitions
Discussion
Do you want to join discussion? Click here to log in or create user.