]> git.phdru.name Git - git-scripts.git/commitdiff
Fix(delete): Fix arguments count
authorOleg Broytman <phd@phdru.name>
Wed, 19 Feb 2025 11:26:58 +0000 (14:26 +0300)
committerOleg Broytman <phd@phdru.name>
Wed, 19 Feb 2025 11:26:58 +0000 (14:26 +0300)
delete

diff --git a/delete b/delete
index eacf01dfd87884f653b00f6fc39bb015e77fb93a..1a4bc1ef893a5ab7e451ee43b5ba3eec18e42d4d 100755 (executable)
--- a/delete
+++ b/delete
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-if [ -z "$1" -o -n "$3" ]; then
+if [ -z "$1" -o -n "$2" ]; then
     echo "Usage: $0 /path/to/repo" >&2
     exit 1
 fi