summaryrefslogtreecommitdiffstats
path: root/mkinitcpio
diff options
context:
space:
mode:
Diffstat (limited to 'mkinitcpio')
-rwxr-xr-xmkinitcpio4
1 files changed, 2 insertions, 2 deletions
diff --git a/mkinitcpio b/mkinitcpio
index 9a3c343..1281c0b 100755
--- a/mkinitcpio
+++ b/mkinitcpio
@@ -59,7 +59,6 @@ usage: ${0##*/} [options]
-z, --compress <program> Use an alternate compressor on the image
EOF
- cleanup 1
}
cleanup() {
@@ -142,7 +141,8 @@ while :; do
shift
GENIMG=$1 ;;
-h|--help)
- usage ;;
+ usage
+ cleanup 0 ;;
-p|--preset)
shift
PRESET=$1 ;;