Permalink
Browse files

Don't remove parent directories

  • Loading branch information...
1 parent d588797 commit a4bde7607208b960195be3701554112d13a051b7 @logandk committed Dec 22, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 postprocess.sh
View
2 postprocess.sh
@@ -18,7 +18,7 @@ fi
if mountpoint -q /mnt/media; then
rsync -av --remove-source-files --exclude '*UNPACK*' /mnt/pidisk/sabnzbd/download/ /mnt/media/Downloads
- find /mnt/pidisk/sabnzbd/download -mindepth 1 -type d -empty -prune -exec rmdir --ignore-fail-on-non-empty -p \{\} \;
+ find /mnt/pidisk/sabnzbd/download -mindepth 1 -type d -empty -prune -exec rmdir --ignore-fail-on-non-empty \{\} \;
fi
rm -f "$lockfile"

0 comments on commit a4bde76

Please sign in to comment.