chiark / gitweb /
Remove "ls" invocation
authorMatthew Vernon <matthew.vernon@sruc.ac.uk>
Mon, 10 Dec 2012 10:34:36 +0000 (10:34 +0000)
committerRichard Kettlewell <rjk@terraraq.org.uk>
Mon, 10 Dec 2012 21:53:04 +0000 (21:53 +0000)
The ls -l invocation doesn't do anything useful, and causes cron mail to
be emitted. So I deleted it.

Signed-off-By: Matthew Vernon <matthew@debian.org>

tools/rsbackup-mount.in

index 50a8807..8d14c21 100755 (executable)
@@ -79,7 +79,6 @@ mount )
     plain=$(eval echo \$${device}_plain)
     if [ ! -e /dev/mapper/$device -a -z "$plain" ]; then
       uuid=$(eval echo \$${device}_uuid)
-      ls -l /dev/disk/by-uuid/$uuid
       if [ -n "$keyfile" ]; then
         $act cryptsetup luksOpen --key-file "$keyfile" /dev/disk/by-uuid/$uuid $device
       else