From 38e85d058fd41f340561ff63fcc0a2d3e52a8e13 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Mon, 17 Mar 2025 08:08:41 +0100 Subject: [PATCH] Fix broken arg number test. --- lintplom | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lintplom b/lintplom index 9a4799c..fa6dc60 100755 --- a/lintplom +++ b/lintplom @@ -2,7 +2,7 @@ set -e # check existence of file, ensure absoluteness of path -if [ "$?" -ne 1 ]; then +if [ "$#" -ne 1 ]; then echo "usage: lintplom FILEPATH" echo "" echo "arguments:" -- 2.30.2