aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/ak-zchain-rebase1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ak-zchain-rebase b/bin/ak-zchain-rebase
index e5d9b52..a798fbe 100755
--- a/bin/ak-zchain-rebase
+++ b/bin/ak-zchain-rebase
@@ -14,6 +14,7 @@ usage(){
exit 0
}
rebase (){
+ if [ ! -n "$1" ]; then exit 1; fi
ZTARGET="$1"
echo "Reseting ZLATEST to ZTARGET"
echo $ZTARGET > $AK_ZLATEST