Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
dird: Add warning message that enable/disable is temporary.
  • Loading branch information
Marco van Wieringen committed Sep 1, 2016
1 parent 32dc0a5 commit 21d4924
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/dird/ua_cmds.c
Expand Up @@ -1038,6 +1038,8 @@ static void do_en_disable_cmd(UAContext *ua, bool setting)
job->enabled = setting;
ua->send_msg(_("Job \"%s\" %sabled\n"), job->name(), setting ? "en" : "dis");
}

ua->warning_msg(_("%sabling is a temporary operation until the director reloads\n"), setting ? "En" : "Dis");
}

static bool enable_cmd(UAContext *ua, const char *cmd)
Expand Down

0 comments on commit 21d4924

Please sign in to comment.