]> arthur.barton.de Git - bup.git/commit
import-rsnapshot: exit with 1, not -1
authorGabriel Filion <gabster@lelutin.ca>
Sun, 21 Jun 2015 03:51:15 +0000 (23:51 -0400)
committerRob Browning <rlb@defaultvalue.org>
Sat, 4 Jul 2015 14:04:34 +0000 (09:04 -0500)
commit4f9cb846f3fc61816c498fe5f31cb8be2926c2db
tree255736e41da881707d58dd564e2d1098e04d3108
parent2660592aa67e987fb5ab8351ecea142faedc8e53
import-rsnapshot: exit with 1, not -1

Using a negative exit code is a bashism and since we use /bin/sh to
interpret the script, we should avoid it.

This was reported by Raphael Geissert in a Debian bug report:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772222

Signed-off-by: Gabriel Filion <gabster@lelutin.ca>
[rlb@defaultvalue.org: adjust commit message]
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
cmd/import-rsnapshot-cmd.sh