|
|
|
@ -8,7 +8,7 @@
|
|
|
|
# $1 - Fullpath of directory to be processed. eg./mnt/user/downloads/some.artist_some.album
|
|
|
|
# $1 - Fullpath of directory to be processed. eg./mnt/user/downloads/some.artist_some.album
|
|
|
|
|
|
|
|
|
|
|
|
# $7 - Status of post processing. 0 = OK, 1 = failed verification, 2 = failed unpack, 3 = 1+2
|
|
|
|
# $7 - Status of post processing. 0 = OK, 1 = failed verification, 2 = failed unpack, 3 = 1+2
|
|
|
|
if [ ! -z $7 ] && [ $7 -gt 0 ]; then
|
|
|
|
if [ ! -z "$7" ] && [ "$7" -gt 0 ]; then
|
|
|
|
echo "post-processing failed, bypassing script"
|
|
|
|
echo "post-processing failed, bypassing script"
|
|
|
|
exit 1
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|