diff options
Diffstat (limited to 'sway/commands/output')
-rw-r--r-- | sway/commands/output/background.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/output/background.c b/sway/commands/output/background.c index e45b571e..74894812 100644 --- a/sway/commands/output/background.c +++ b/sway/commands/output/background.c @@ -110,7 +110,7 @@ struct cmd_results *output_cmd_background(int argc, char **argv) { if (!can_access) { wlr_log(WLR_ERROR, "Unable to access background file '%s': %s", src, strerror(errno)); - if (!config->validating) { + if (config->reading && !config->validating) { swaynag_log(config->swaynag_command, &config->swaynag_config_errors, "Unable to access background file '%s'", src); |