From 62738e53416ee813d6c6edeae68478fe5016a0ac Mon Sep 17 00:00:00 2001 From: Tan Chee Keong Date: Mon, 9 Oct 2023 19:31:24 +0800 Subject: [PATCH] Remove return 1 and add : --- scripts/cli.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/cli.sh b/scripts/cli.sh index 5c6c85ad47..61a958bb88 100755 --- a/scripts/cli.sh +++ b/scripts/cli.sh @@ -75,7 +75,7 @@ else fi if [[ -z $diff ]]; then # check for difference - return 1 # exit a function (i.e., do nothing) + : # do nothing else cp $new_file $file changes=true