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