diff options
Diffstat (limited to 'toru-utils')
-rwxr-xr-x | toru-utils | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -7,7 +7,7 @@ source /etc/libretools.conf if [ ! -w "$TORUPATH" ]; then error "Toru's path isn't writable. Please check $TORUPATH" - exit 1 + exit 1 fi LASTSYNCFILE=${TORUPATH}/lastsync @@ -81,6 +81,6 @@ trap_exit() { # Trap signals from makepkg set -E -trap 'trap_exit "(prfullpkg:${level}) TERM signal caught. Exiting..."' TERM HUP QUIT -trap 'trap_exit "(prfullpkg:${level}) Aborted by user! Exiting..."' INT -trap 'trap_exit "(prfullpkg:${level}) An unknown error has occurred. Exiting..."' ERR +trap 'trap_exit "($(basename $0):${level}) TERM signal caught. Exiting..."' TERM HUP QUIT +trap 'trap_exit "($(basename $0):${level}) Aborted by user! Exiting..."' INT +trap 'trap_exit "($(basename $0):${level}) An unknown error has occurred. Exiting..."' ERR |