]> git.pld-linux.org Git - projects/geninitrd.git/commitdiff
Show real command in error message.
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 21 May 2014 09:14:24 +0000 (11:14 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 21 May 2014 09:14:24 +0000 (11:14 +0200)
mod-lvm.sh

index a0bdf80168e6cb0a0c3521e0399de93069f10637..d39e96e1a0446e152c411b4aaba77eec9f12d324 100644 (file)
@@ -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
This page took 0.402379 seconds and 4 git commands to generate.