diff options
author | kaotisk <kaotisk@arching-kaos.com> | 2022-02-11 09:41:17 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.com> | 2022-02-11 09:41:17 +0200 |
commit | 1feca3a43dfa1f2e24c2150088d7f2125dfbf6ea (patch) | |
tree | f526dc569c37637bc789ff83271cdc32fa290849 | |
parent | 6185e933cf51bb9cc6d43d03b0bcbbb424f084a8 (diff) | |
download | arching-kaos-tools-1feca3a43dfa1f2e24c2150088d7f2125dfbf6ea.tar.gz arching-kaos-tools-1feca3a43dfa1f2e24c2150088d7f2125dfbf6ea.tar.bz2 arching-kaos-tools-1feca3a43dfa1f2e24c2150088d7f2125dfbf6ea.zip |
Exit script if pack_z_block fails
-rwxr-xr-x | bin/ak-files | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/ak-files b/bin/ak-files index ea2114b..d66fc0d 100755 --- a/bin/ak-files +++ b/bin/ak-files @@ -93,12 +93,17 @@ main(){ } EOF +echo "Printing data..." +cat $TEMPASSIN/data +echo "Publishing..." + pack_z_block files/add $TEMPASSIN/data if [ $? == 0 ] then echo "cool" else echo "not?" + exit 2 fi } |