summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2012-10-16 10:25:10 +0200
committerHarald Hoyer <harald@redhat.com>2012-10-16 10:25:10 +0200
commit6d70aa78366ab1b79f00c863fb9093af08680ebc (patch)
treef529bcf76544737c0e6577d168927d123f99d3d5
parent14986b9d58d1fb4813bfabbeb26fb4581389bbc9 (diff)
downloaddracut-6d70aa78366ab1b79f00c863fb9093af08680ebc.tar.gz
dracut-6d70aa78366ab1b79f00c863fb9093af08680ebc.tar.bz2
dracut-6d70aa78366ab1b79f00c863fb9093af08680ebc.zip
lsinitrd.sh: sort by filename
-rwxr-xr-xlsinitrd.sh2
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 "========================================================================"