diff options
Diffstat (limited to 'src/notify/notify.c')
-rw-r--r-- | src/notify/notify.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/notify/notify.c b/src/notify/notify.c index d7421d8cd5..32bd6e6a7a 100644 --- a/src/notify/notify.c +++ b/src/notify/notify.c @@ -310,6 +310,9 @@ static int parse_argv(int argc, char *argv[]) { return -EINVAL; } + if (have_env && arg_booted) + log_warning("Notify message specified along with --booted, ignoring."); + if (n_arg_env > 0) { arg_env = strv_copy_n(argv + optind, n_arg_env); if (!arg_env) |