From a1f8ff499b924d1f3452a1aa19e2c20d58fc3b9d Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 09 Dec 2014 00:22:55 -0500 Subject: Improve error message --- 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 -- cgit v0.9.1