Use 'sh' instead of 'sh -e'
'sh -e' makes the shell script die if any command returns an error which isn't caught. While this is a nice feature, this script doesn't actually need this. Not using this shell feature makes the script more portable. Thanks to Edward O'Callaghan aka eocallagha for stumbling upon this. Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
90d6c799ff
commit
886d62fb59
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh -e
|
||||
#!/bin/sh
|
||||
#
|
||||
# Copyright © 2008 Pierre Habouzit <madcoder@debian.org>
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue