From 9062806ce632092d5e18890fae755c7c26b89ad4 Mon Sep 17 00:00:00 2001 From: leafee98 Date: Mon, 18 Sep 2023 10:28:36 +0800 Subject: [PATCH] Fix: syntax error when comparing number of arguments --- proxyenv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxyenv b/proxyenv index f855471..d06d7eb 100755 --- a/proxyenv +++ b/proxyenv @@ -1,7 +1,7 @@ #!/usr/bin/env bash # Just quit queitly when no program specfied -if (( "$#" -le 0 )) ; then +if (( "$#" == 0 )) ; then exit 0 fi