summaryrefslogtreecommitdiffstats
path: root/lib/backup-files.c
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2012-02-01 18:08:48 +0100
committerJean Delvare <jdelvare@suse.de>2012-02-01 18:08:48 +0100
commit3f25ce18333a8afe81ce8968f756ba986bd9b4b5 (patch)
treecc421987d9df6d50b700aac7e1268c449f2ef1e5 /lib/backup-files.c
parent627e2217ba89d71bf261f664b8e0a9578c8b1572 (diff)
downloadquilt-3f25ce18333a8afe81ce8968f756ba986bd9b4b5.tar.gz
BSD compatibility: rmdir
Use rmdir -p instead of open-coding it. The more complex code was maybe needed to properly handle symbolic links, but we know that there won't be symbolic links in the backup directory, so the extra complexity isn't needed. Signed-off-by: Jean Delvare <jdelvare@suse.de> Reviewed-by: Raphael Hertzog <hertzog@debian.org>
Diffstat (limited to 'lib/backup-files.c')
0 files changed, 0 insertions, 0 deletions