summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/init.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/init.sh b/include/init.sh
index cd290ebe..117a1818 100644
--- a/include/init.sh
+++ b/include/init.sh
@@ -52,8 +52,8 @@ xbmkpkg()
xbmk_get_version()
{
- [ ! -f ".version" ] || read -r version < ".version" || :; :
- [ ! -f ".versiondate" ] || read -r versiondate < ".versiondate" || :; :
+ [ ! -f ".version" ] || read -r version < ".version" || err
+ [ ! -f ".versiondate" ] || read -r versiondate < ".versiondate" || err
[ ! -e ".git" ] && [ ! -f ".version" ] && version="unknown"
[ ! -e ".git" ] && [ ! -f ".versiondate" ] && versiondate="1716415872"