diff --git a/bin/secondscreen b/bin/secondscreen index 7134549..efd9176 100755 --- a/bin/secondscreen +++ b/bin/secondscreen @@ -100,7 +100,7 @@ status() { exit_status="$(("$exit_status" + 1))" fi - exit "$exit_status" + return "$exit_status" } if [ -n "$1" ]; then