diff options
Diffstat (limited to 'sway/commands.c')
-rw-r--r-- | sway/commands.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sway/commands.c b/sway/commands.c index bc8c42eb..e251f167 100644 --- a/sway/commands.c +++ b/sway/commands.c | |||
@@ -1555,7 +1555,9 @@ static struct cmd_results *cmd_reload(int argc, char **argv) { | |||
1555 | if ((error = checkarg(argc, "reload", EXPECTED_EQUAL_TO, 0))) { | 1555 | if ((error = checkarg(argc, "reload", EXPECTED_EQUAL_TO, 0))) { |
1556 | return error; | 1556 | return error; |
1557 | } | 1557 | } |
1558 | if (!load_main_config(NULL, true)) return cmd_results_new(CMD_FAILURE, "reload", "Error(s) reloading config."); | 1558 | if (!load_main_config(config->current_config, true)) { |
1559 | return cmd_results_new(CMD_FAILURE, "reload", "Error(s) reloading config."); | ||
1560 | } | ||
1559 | 1561 | ||
1560 | load_swaybars(); | 1562 | load_swaybars(); |
1561 | 1563 | ||