Team-Resurgent/Repackinator

Repackinator does not exit non zero in error conditions

neofright opened this issue · 0 comments

$ ./repackinator -a repack -i this_dir_doesnt_exist -o ../out/ -c=CCi -t; echo $?
Repackinator by EqUiNoX: input is not a valid directory.
Try `Repackinator --help' for more information.
0

I mistakenly thought that the repack action now supported input files instead of input directories and did the following:
$ for i in ../in/*.zip; do ./repackinator -a repack -i "$i" -o ../out/ -c -t && rm "$i"; done

Shame on me for deleting my input files.