diff options
author | Harald Hoyer <harald@redhat.com> | 2013-08-12 23:50:07 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2013-08-12 23:50:07 +0200 |
commit | 861d9430c08091d56a03c874cbd07187347d6605 (patch) | |
tree | e3db1756e98328ad43d81ba6dde4d1d5472624a3 | |
parent | e8b9702c0a7837c901addbdc964eccfc71e7a3df (diff) | |
download | dracut-861d9430c08091d56a03c874cbd07187347d6605.tar.gz dracut-861d9430c08091d56a03c874cbd07187347d6605.tar.bz2 dracut-861d9430c08091d56a03c874cbd07187347d6605.zip |
lsinitrd.sh: fixed modules.txt path
-rwxr-xr-x | lsinitrd.sh | 2 |
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 |