[projects/geninitrd] Show real command in error message.

arekm arekm at pld-linux.org
Wed May 21 11:14:28 CEST 2014


commit cf95409179fcd2412ecd38eca07a00326b81619c
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed May 21 11:14:24 2014 +0200

    Show real command in error message.

 mod-lvm.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/mod-lvm.sh b/mod-lvm.sh
index a0bdf80..d39e96e 100644
--- a/mod-lvm.sh
+++ b/mod-lvm.sh
@@ -69,7 +69,7 @@ is_lvm() {
 	rc=$?
 	if [ $rc -gt 127 ]; then
 		# lvdisplay terminated by signal! most likely it segfaulted.
-		die "Unexpected exit from 'lvdisplay $node': $rc - are your lvm tools broken?"
+		die "Unexpected exit from '$lvm lvdisplay $node': $rc - are your lvm tools broken?"
 	fi
 
 	return $rc
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/geninitrd.git/commitdiff/cf95409179fcd2412ecd38eca07a00326b81619c



More information about the pld-cvs-commit mailing list