aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/reload.c
diff options
context:
space:
mode:
authorIan Fan <ianfan0@gmail.com>2018-07-08 20:34:47 +0100
committerIan Fan <ianfan0@gmail.com>2018-07-10 12:37:37 +0100
commit23c1c26c3fedf5470dbee9fe97c2374a48588863 (patch)
tree751b5569e4e05149c7a7cd7e0d8084be5ff62063 /sway/commands/reload.c
parent5fd36164a008f931def993413facf9058c56641d (diff)
Add get_config message type to ipc
Diffstat (limited to 'sway/commands/reload.c')
-rw-r--r--sway/commands/reload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/reload.c b/sway/commands/reload.c
index 9fc213c4..c6715f9c 100644
--- a/sway/commands/reload.c
+++ b/sway/commands/reload.c
@@ -7,7 +7,7 @@ struct cmd_results *cmd_reload(int argc, char **argv) {
if ((error = checkarg(argc, "reload", EXPECTED_EQUAL_TO, 0))) {
return error;
}
- if (!load_main_config(config->current_config, true)) {
+ if (!load_main_config(config->current_config_path, true)) {
return cmd_results_new(CMD_FAILURE, "reload", "Error(s) reloading config.");
}