From: Evgeni Golov Date: Sat, 29 Mar 2014 13:37:07 +0000 (+0100) Subject: Do not throw warnings when /tmp/custom_mounts.list does not exist. X-Git-Tag: debian/4.0_alpha20-1~1 X-Git-Url: http://git.grml.org/?a=commitdiff_plain;h=28ca8298a10702e391e420975205a98450d4cf7d;hp=28ca8298a10702e391e420975205a98450d4cf7d;p=live-boot-grml.git Do not throw warnings when /tmp/custom_mounts.list does not exist. When no device for an overlay can be found, /tmp/custom_mounts.list won't be created and will produce warnings while booting: sort: /tmp/custom_mounts.list: No such file or directory rm: can't remove '/tmp/custom_mounts.list': No such file or directory Properly handle this case by calling rm with the -f option and calling sort only when the file exists. ---