summaryrefslogtreecommitdiffstats
path: root/initramfs/stage3-stuff/init
diff options
context:
space:
mode:
Diffstat (limited to 'initramfs/stage3-stuff/init')
-rwxr-xr-xinitramfs/stage3-stuff/init2
1 files changed, 1 insertions, 1 deletions
diff --git a/initramfs/stage3-stuff/init b/initramfs/stage3-stuff/init
index bf18486e..0596b5d9 100755
--- a/initramfs/stage3-stuff/init
+++ b/initramfs/stage3-stuff/init
@@ -871,7 +871,7 @@ fi
runinithook '70-before-plugins'
# ddcinfo temporary overwrite (with kernel cmdline ddcinfo=1)
-if [ "${ddcinfo}" = "1" && -f /initramfs/plugin-conf/xserver.conf ]; then
+if [ "${ddcinfo}" = "1" -a -f /initramfs/plugin-conf/xserver.conf ]; then
echo 'xserver_ddcinfo="1"' >> /initramfs/plugin-conf/xserver.conf
fi