X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fmain.c;fp=src%2Fmain.c;h=3ebdbf0cc0a2667f4cc4bf9c98e85d59fa8a1b90;hb=08cdc3a6ae56623c7604af690c3fd2ef238d9ffa;hp=d7d7530a968ebc527d1ca60a13bb8241328cd71f;hpb=7754de900aa41eeedf6d3ce4d661b550b7a60177;p=i3%2Fi3 diff --git a/src/main.c b/src/main.c index d7d7530a..3ebdbf0c 100644 --- a/src/main.c +++ b/src/main.c @@ -420,7 +420,7 @@ int main(int argc, char *argv[]) { } if (only_check_config) { - exit(parse_configuration(override_configpath, false) ? 0 : 1); + exit(load_configuration(override_configpath, C_VALIDATE) ? 0 : 1); } /* If the user passes more arguments, we act like i3-msg would: Just send @@ -586,7 +586,7 @@ int main(int argc, char *argv[]) { #include "atoms.xmacro" #undef xmacro - load_configuration(override_configpath, false); + load_configuration(override_configpath, C_LOAD); if (config.ipc_socket_path == NULL) { /* Fall back to a file name in /tmp/ based on the PID */