change exit 1

This commit is contained in:
chonghe
2023-08-30 21:52:35 +08:00
committed by Tan Chee Keong
parent 8d19bc2c26
commit 0de2d89c1e

View File

@@ -71,11 +71,11 @@ if [[ -z $changes ]];
then
no_change=true
echo "cli_manual.txt is up to date"
exit 1
# if the difference is empty, use true to execute nothing: https://stackoverflow.com/questions/17583578/what-command-means-do-nothing-in-a-conditional-in-bash
else
patch ./scripts/cli_manual.txt update
echo "cli_manual.txt has been updated"
exit 1
#patch ./scripts/cli_manual.txt update
#echo "cli_manual.txt has been updated"
fi
# update cli_manual.sh