summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmkinitcpio2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkinitcpio b/mkinitcpio
index d8ea31f..b4c6959 100755
--- a/mkinitcpio
+++ b/mkinitcpio
@@ -276,7 +276,7 @@ if [[ -z $GENIMG ]]; then
else
COMPRESSION=${optcompress:-$COMPRESSION}
if ! type -P "$COMPRESSION" >/dev/null; then
- die "Unable to locate compression method: %s" "$optcompress"
+ die "Unable to locate compression method: %s" "$COMPRESSION"
fi
msg "Starting build: %s" "$KERNELVERSION"