summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-12-09 00:22:55 (EST)
committer P. J. McDermott <pj@pehjota.net>2014-12-09 00:22:55 (EST)
commita1f8ff499b924d1f3452a1aa19e2c20d58fc3b9d (patch)
treed51d044ed3aa06bac4464ba0ad2683ada88f579b
parent1f0f6de00bfbfedc39d533645244ccef71e51855 (diff)
Improve error message
-rw-r--r--debeagle.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/debeagle.sh b/debeagle.sh
index e1d11eb..6d8614d 100644
--- a/debeagle.sh
+++ b/debeagle.sh
@@ -206,7 +206,7 @@ make_parts_and_fs()
error 1 'Device %s not found\n' "${target}"
fi
if grep "^${target}" /proc/mounts >/dev/null 2>&1; then
- error 1 'Device %s mounted\n' "${target}"
+ error 1 'File system(s) on device %s mounted\n' "${target}"
fi
dd if=/dev/zero of="${target}" bs=512 count=1