diff options
author | Dave Reisner <dreisner@archlinux.org> | 2013-09-03 01:19:12 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2013-09-07 16:04:32 +0200 |
commit | d0cbe1615281a935d492cc1fd7542198f22f71ad (patch) | |
tree | f93f89e90cc07bfa225d99de7fdd40d5b186d3b0 /lsinitcpio | |
parent | b5927393d103af9b8b2da80e8636b8aa52f80755 (diff) | |
download | mkinitcpio-d0cbe1615281a935d492cc1fd7542198f22f71ad.tar.gz mkinitcpio-d0cbe1615281a935d492cc1fd7542198f22f71ad.tar.xz |
lsinitcpio: return success based on echo, not hexdump
The impetus for doing this was a bug in util-linux's hexdump which never
saw a release. For uniformity, simply echo an empty line here.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'lsinitcpio')
-rwxr-xr-x | lsinitcpio | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -72,6 +72,7 @@ detect_filetype() { case $(hexdump -n 6 -e '"%c"' "$1") in '070701') # no compression + echo return ;; $'\xfd7zXZ') |