Meta: Adhere to latest ScriptCheck standards (SC2268)

This commit is contained in:
thislooksfun 2021-10-26 13:14:17 -05:00 committed by Andreas Kling
parent 3e32acc3e4
commit 19bd302f6a
Notes: sideshowbarker 2024-07-18 01:36:56 +09:00

View file

@ -41,7 +41,7 @@ if (( ${#files[@]} )); then
exit 1
fi
if [ "$#" -gt "0" ] && [ "x--overwrite-inplace" = "x$1" ] ; then
if [ "$#" -gt "0" ] && [ "--overwrite-inplace" = "$1" ] ; then
true # The only way to run this script.
else
# Note that this branch also covers --help, -h, -help, -?, etc.