lsinitrd.sh: fixed modules.txt path
authorHarald Hoyer <harald@redhat.com>
Mon, 12 Aug 2013 21:50:07 +0000 (23:50 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 12 Aug 2013 21:50:07 +0000 (23:50 +0200)
lsinitrd.sh

index faad99acc39f952874b3e968b3435ab2e6d74747..584c29a974eb723876ea5fd5f5e12a857eafa91c 100755 (executable)
@@ -137,7 +137,7 @@ else
     version=$($CAT -- "$image" | cpio --extract --verbose --quiet --to-stdout -- '*lib/dracut/dracut-*' 2>/dev/null)
     ((ret+=$?))
     echo "$version with dracut modules:"
-    $CAT -- "$image" | cpio --extract --verbose --quiet --to-stdout -- 'usr/lib/dracut/modules.txt' 2>/dev/null
+    $CAT -- "$image" | cpio --extract --verbose --quiet --to-stdout -- '*lib/dracut/modules.txt' 2>/dev/null
     ((ret+=$?))
     echo "========================================================================"
     if [ "$sorted" -eq 1 ]; then