diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-03-02 05:57:34 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-03-02 05:57:34 +0200 |
commit | 69ec28812cc1f6c68f139bbc93e95ab4424f8859 (patch) | |
tree | 5931cd2dc2322bb9d56fd18d5dc9853c2555a86e | |
parent | fe55a20c1d3d5eca8dd069167a444a1d82328294 (diff) | |
download | arching-kaos-tools-69ec28812cc1f6c68f139bbc93e95ab4424f8859.tar.gz arching-kaos-tools-69ec28812cc1f6c68f139bbc93e95ab4424f8859.tar.bz2 arching-kaos-tools-69ec28812cc1f6c68f139bbc93e95ab4424f8859.zip |
Exit if no value given to rebase onto
-rwxr-xr-x | bin/ak-zchain-rebase | 1 |
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 |