summaryrefslogtreecommitdiff
path: root/sway/commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands.c')
-rw-r--r--sway/commands.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sway/commands.c b/sway/commands.c
index 5ed5e070..af24cc95 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -79,10 +79,10 @@ int cmd_exec(struct sway_config *config, int argc, char **argv) {
return 1;
}
- if (config->reloading) {
- sway_log(L_DEBUG, "Ignoring exec %s due to reload", join_args(argv, argc));
- return 0;
- }
+ if (config->reloading) {
+ sway_log(L_DEBUG, "Ignoring exec %s due to reload", join_args(argv, argc));
+ return 0;
+ }
if (fork() == 0) {
char *args = join_args(argv, argc);
@@ -190,7 +190,7 @@ int cmd_reload(struct sway_config *config, int argc, char **argv) {
if (!f) {
sway_log(L_ERROR, "Sway config file not found, aborting reload!");
free(temp);
- return 1;
+ return 1;
}
free(temp);
config = read_config(f, true);