From 38366812230f41e31f4a11278c0797b3283e436c Mon Sep 17 00:00:00 2001 From: prescientmoon Date: Mon, 26 Aug 2024 19:25:44 +0200 Subject: [PATCH] Fix emergency script arg counting --- scripts/emergency.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/emergency.sh b/scripts/emergency.sh index 23eeedc..dcf71ef 100755 --- a/scripts/emergency.sh +++ b/scripts/emergency.sh @@ -3,7 +3,7 @@ #!nix-shell -i bash # Check if at least one argument is provided -if [ "$#" != "1" ] && [ "$#" != "2" ]; then +if [ "$#" != "2" ] && [ "$#" != "3" ]; then echo "Usage: $0 [action]" exit 1 fi