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%252525253fid%252525253d61472a32cdb3e538f954ceb2656d0c41b4cd0b9d%2525253fid%2525253d61472a32cdb3e538f954ceb2656d0c41b4cd0b9d%25253fid%25253d61472a32cdb3e538f954ceb2656d0c41b4cd0b9d&id2%25253d9719de8ea3a88f2968378ff213202737dc9f3dda%253fid%253d61472a32cdb3e538f954ceb2656d0c41b4cd0b9d&id2%253d9719de8ea3a88f2968378ff213202737dc9f3dda%3fid%3d61472a32cdb3e538f954ceb2656d0c41b4cd0b9d&id2%3d9719de8ea3a88f2968378ff213202737dc9f3dda?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%252525253fid%252525253d61472a32cdb3e538f954ceb2656d0c41b4cd0b9d%2525253fid%2525253d61472a32cdb3e538f954ceb2656d0c41b4cd0b9d%25253fid%25253d61472a32cdb3e538f954ceb2656d0c41b4cd0b9d&id2%25253d9719de8ea3a88f2968378ff213202737dc9f3dda%253fid%253d61472a32cdb3e538f954ceb2656d0c41b4cd0b9d&id2%253d9719de8ea3a88f2968378ff213202737dc9f3dda%3fid%3d61472a32cdb3e538f954ceb2656d0c41b4cd0b9d&id2%3d9719de8ea3a88f2968378ff213202737dc9f3dda?id=61472a32cdb3e538f954ceb2656d0c41b4cd0b9d')
0 files changed, 0 insertions, 0 deletions