From: Oleg Broytman Date: Wed, 19 Feb 2025 11:26:58 +0000 (+0300) Subject: Fix(delete): Fix arguments count X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=dbab6b2c0d54def3b6100e24abce22631d893014;p=git-scripts.git Fix(delete): Fix arguments count --- diff --git a/delete b/delete index eacf01d..1a4bc1e 100755 --- 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