summaryrefslogtreecommitdiffstats
path: root/sup
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2014-08-30 10:53:44 +0200
committerFlorian Pritz <bluewind@xinu.at>2014-08-30 10:54:14 +0200
commit94761c1f439ccc5ac9a6ac609873211d6f83f211 (patch)
tree42385e4cbc9e55fc426d32638b9918b23743c7ff /sup
parentc2c55f492b8fef048429512aaec5c0f324723835 (diff)
downloadbin-94761c1f439ccc5ac9a6ac609873211d6f83f211.tar.gz
bin-94761c1f439ccc5ac9a6ac609873211d6f83f211.tar.xz
sup: fix removing first block of commands
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'sup')
-rwxr-xr-xsup5
1 files changed, 4 insertions, 1 deletions
diff --git a/sup b/sup
index c6cb304..eb7f71d 100755
--- a/sup
+++ b/sup
@@ -61,10 +61,13 @@ while :; do
echo ' --reset-after <number> reset the failed counter after this time'
exit 0
;;
- --|*)
+ --)
shift
break
;;
+ *)
+ break
+ ;;
esac
shift
done