diff options
author | Harald Hoyer <harald@redhat.com> | 2012-10-16 10:25:10 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2012-10-16 10:25:10 +0200 |
commit | 6d70aa78366ab1b79f00c863fb9093af08680ebc (patch) | |
tree | f529bcf76544737c0e6577d168927d123f99d3d5 | |
parent | 14986b9d58d1fb4813bfabbeb26fb4581389bbc9 (diff) | |
download | dracut-6d70aa78366ab1b79f00c863fb9093af08680ebc.tar.gz dracut-6d70aa78366ab1b79f00c863fb9093af08680ebc.tar.bz2 dracut-6d70aa78366ab1b79f00c863fb9093af08680ebc.zip |
lsinitrd.sh: sort by filename
-rwxr-xr-x | lsinitrd.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lsinitrd.sh b/lsinitrd.sh index 3d6084d3..77a15c5f 100755 --- a/lsinitrd.sh +++ b/lsinitrd.sh @@ -70,6 +70,6 @@ echo "========================================================================" if [ "$sorted" -eq 1 ]; then $CAT "$image" | cpio --extract --verbose --quiet --list | sort -n -k5 else - $CAT "$image" | cpio --extract --verbose --quiet --list + $CAT "$image" | cpio --extract --verbose --quiet --list | sort -k9 fi echo "========================================================================" |