Remove return 1 and add :

This commit is contained in:
Tan Chee Keong
2023-10-09 19:31:24 +08:00
parent b8df45373f
commit 585631a84b

View File

@@ -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