mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2026-05-24 14:56:29 +03:00
Return 1 instead of -1 from semver/deb
This commit is contained in:
@@ -6,7 +6,7 @@ BRANCH=$(git symbolic-ref --short HEAD 2>/dev/null)
|
||||
# Complain if the git history is not available
|
||||
if [ $? != 0 ]; then
|
||||
printf "unknown"
|
||||
exit -1
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Remove "/" characters from the branch name if present
|
||||
|
||||
Reference in New Issue
Block a user