From a185e366f93dd2e20d6fc5ae7d90f12b60653d18 Mon Sep 17 00:00:00 2001 From: Takeshi Nakatani Date: Wed, 19 Jul 2023 08:28:26 +0900 Subject: [PATCH] Fixed a bug in script for systemd --- buildutils/chmpx-service-helper | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildutils/chmpx-service-helper b/buildutils/chmpx-service-helper index 29b5406..3a48439 100755 --- a/buildutils/chmpx-service-helper +++ b/buildutils/chmpx-service-helper @@ -410,7 +410,7 @@ wait_process_up() if [ -z "$2" ]; then echo "The second argument is empty." return 1 - elif echo "$1" | grep -q '[^0-9]'; then + elif echo "$2" | grep -q '[^0-9]'; then echo "The second argument($2) must be number." return 1 fi