From 8179845836746519dca7b935b6a3446bee76e9fe Mon Sep 17 00:00:00 2001 From: Ralph Corderoy Date: Mon, 18 Sep 2017 23:29:24 +0100 Subject: [PATCH] sendfiles: Always die with exit status of 1 rather than -1. The sh function die() took the exit status as an optional parameter, with a default of -1, but this was never used so remove the option and always use an exit status of 1. --- etc/sendfiles | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/sendfiles b/etc/sendfiles index 18b714a2..ef84015e 100755 --- a/etc/sendfiles +++ b/etc/sendfiles @@ -41,7 +41,7 @@ help() { die() { printf '%s\n' "$usage" - exit ${1:-1} + exit 1 } bindir=`finddir $0` -- 2.56.0