diff --git a/bin/create_config.sh b/bin/create_config.sh
index 27cf198e4b9343e90a2029e3c47908b926476d40..d4e5051b4c35f192c6b7a6551e8009b86eca1bba 100755
--- a/bin/create_config.sh
+++ b/bin/create_config.sh
@@ -129,7 +129,7 @@ fi
 
 # --- create target file
 diff "${tmpfile}" "${outfile}" >> ${cfgdiff} 2>/dev/null
-if [ $? -eq 0 && -f "${outfile}" ]; then
+if [ $? -eq 0 -a -f "${outfile}" ]; then
     _warn "INFO: no changes."
 else
     mv -f "${tmpfile}" "${outfile}" || exit 4