summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-08-14 01:19:28 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:01 +0100
commitb08ed87e435629af19134c12b28e0704e7b4ae01 (patch)
tree9cd2d7ea42e260718fa6ce66d8907e14756f524c
parent69711afc9791c7cf5ff968d87f9abdc23ad2d253 (diff)
downloadlive-boot-b08ed87e435629af19134c12b28e0704e7b4ae01.tar.gz
live-boot-b08ed87e435629af19134c12b28e0704e7b4ae01.zip
Hide error from attempting to "mount --move"
(We get a sensible error message if it fails anyway)
-rwxr-xr-xscripts/live2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/live b/scripts/live
index 7bd673b..caaf45b 100755
--- a/scripts/live
+++ b/scripts/live
@@ -1210,7 +1210,7 @@ setup_unionfs ()
# shows cow fs on /cow for use by live-snapshot
mkdir -p "${rootmnt}/live/cow"
- mount -o move /cow "${rootmnt}/live/cow" || mount -o bind /cow "${rootmnt}/live/cow" || log_warning_msg "Unable to move or bind /cow to ${rootmnt}/live/cow"
+ mount -o move /cow "${rootmnt}/live/cow" >/dev/null 2>&1 || mount -o bind /cow "${rootmnt}/live/cow" || log_warning_msg "Unable to move or bind /cow to ${rootmnt}/live/cow"
}
check_dev ()