summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-09-30 03:20:44 +0200
committerDave Reisner <dreisner@archlinux.org>2012-10-07 02:38:02 +0200
commitc017477193cb5ff469190d8512962a2e1b861442 (patch)
tree7ef9c3a1183a529c4561c6b86d1b13f2fe31288c
parentbb57d3bd3cc4af2b169f3bbdbe0984aa8e5b38dd (diff)
downloadmkinitcpio-c017477193cb5ff469190d8512962a2e1b861442.tar.gz
mkinitcpio-c017477193cb5ff469190d8512962a2e1b861442.tar.xz
honor -n for presets
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
-rwxr-xr-xmkinitcpio1
1 files changed, 1 insertions, 0 deletions
diff --git a/mkinitcpio b/mkinitcpio
index 874d195..a7ed6b0 100755
--- a/mkinitcpio
+++ b/mkinitcpio
@@ -254,6 +254,7 @@ if [[ $_optpreset ]]; then
# Use -m and -v options specified earlier
declare -a preset_mkopts preset_cmd
(( _optquiet )) || preset_mkopts+=(-v)
+ (( _optcolor )) || preset_mkopts+=(-n)
ret=0
for p in "${PRESETS[@]}"; do