summaryrefslogtreecommitdiffstats
path: root/install/pcmcia
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2011-10-16 02:23:16 +0200
committerDave Reisner <dreisner@archlinux.org>2011-10-16 23:43:21 +0200
commit6968982f9e73c50b7317f7aa711a360057a8a98f (patch)
treec31d36db0d145fe2a87e7232b7540cee2cead245 /install/pcmcia
parentea3ba8b3e470736ed6970652bc0c7f516a8dafff (diff)
downloadmkinitcpio-6968982f9e73c50b7317f7aa711a360057a8a98f.tar.gz
mkinitcpio-6968982f9e73c50b7317f7aa711a360057a8a98f.tar.xz
install/pcmcia: fix syntax error (missing &&)
Fixes FS#26427. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'install/pcmcia')
-rw-r--r--install/pcmcia2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/pcmcia b/install/pcmcia
index 2e9ac9a..f51ed6e 100644
--- a/install/pcmcia
+++ b/install/pcmcia
@@ -4,7 +4,7 @@ build() {
FILES="/etc/pcmcia/config.opts"
MODULES=" $(checked_modules '/drivers/pcmcia/' | grep -ve 'sound' -e 'net') $(checked_modules '/ide/legacy')"
- [[ $MODULES ]] MODULES+=" sd_mod?"
+ [[ $MODULES ]] && MODULES+=" sd_mod?"
add_binary "/lib/udev/pcmcia-socket-startup"
add_binary "/lib/udev/pcmcia-check-broken-cis"