diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-05-23 16:12:24 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-05-23 16:12:24 +0200 |
commit | 61472a32cdb3e538f954ceb2656d0c41b4cd0b9d (patch) | |
tree | 6d114ac1a43f28fc628539b26f1e41b1bcd36e1b /scripts%253fid%253d7bec0d47ee2b4a0438e83c15dd152e531e334a46%3fid%3d61472a32cdb3e538f954ceb2656d0c41b4cd0b9d?id=61472a32cdb3e538f954ceb2656d0c41b4cd0b9d | |
parent | 9719de8ea3a88f2968378ff213202737dc9f3dda (diff) |
scripts/calcurse-upgrade: Set "-e"
From the set(1p) man page:
When this option is on, if a simple command fails for any of the
reasons listed in Consequences of Shell Errors or returns an exit
status value >0, and is not part of the compound list following a
while, until, or if keyword, and is not a part of an AND or OR list,
and is not a pipeline preceded by the ! reserved word, then the shell
shall immediately exit.
This allows us to remove all the "|| exit 1" statements we used to bail
out if one command fails.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'scripts%253fid%253d7bec0d47ee2b4a0438e83c15dd152e531e334a46%3fid%3d61472a32cdb3e538f954ceb2656d0c41b4cd0b9d?id=61472a32cdb3e538f954ceb2656d0c41b4cd0b9d')
0 files changed, 0 insertions, 0 deletions