summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2013-08-12 23:50:07 +0200
committerHarald Hoyer <harald@redhat.com>2013-08-12 23:50:07 +0200
commit861d9430c08091d56a03c874cbd07187347d6605 (patch)
treee3db1756e98328ad43d81ba6dde4d1d5472624a3
parente8b9702c0a7837c901addbdc964eccfc71e7a3df (diff)
downloaddracut-861d9430c08091d56a03c874cbd07187347d6605.tar.gz
dracut-861d9430c08091d56a03c874cbd07187347d6605.tar.bz2
dracut-861d9430c08091d56a03c874cbd07187347d6605.zip
lsinitrd.sh: fixed modules.txt path
-rwxr-xr-xlsinitrd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lsinitrd.sh b/lsinitrd.sh
index faad99ac..584c29a9 100755
--- a/lsinitrd.sh
+++ b/lsinitrd.sh
@@ -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