summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lights-out.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/lights-out.in b/lights-out.in
index e45a5c9..d063355 100644
--- a/lights-out.in
+++ b/lights-out.in
@@ -119,7 +119,7 @@ case "$1" in
fi
;;
'turn on')
- check_argument_count 2 "$@"
+ check_argument_count 1 "$@"
value=$(
"$0" get power
) || exit $?