diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-05-03 09:38:57 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-05-03 09:52:49 +0200 |
commit | 29a3db75fd97914434a232a9c01d7ffdccd54d8b (patch) | |
tree | 0be5d4bb4b8c0d00f2228e8c943598458a7cae5e /src/machine/machinectl.c | |
parent | util: make signal_from_string() accept RTMIN, RTMAX, and RTMAX-n (diff) | |
download | systemd-29a3db75fd97914434a232a9c01d7ffdccd54d8b.tar.xz systemd-29a3db75fd97914434a232a9c01d7ffdccd54d8b.zip |
util: rename signal_from_string_try_harder() to signal_from_string()
Also this makes the new `signal_from_string()` function reject
e.g, `SIG3` or `SIG+5`.
Diffstat (limited to 'src/machine/machinectl.c')
-rw-r--r-- | src/machine/machinectl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/machine/machinectl.c b/src/machine/machinectl.c index 508d3775d3..c16f54c283 100644 --- a/src/machine/machinectl.c +++ b/src/machine/machinectl.c @@ -2879,7 +2879,7 @@ static int parse_argv(int argc, char *argv[]) { break; case 's': - arg_signal = signal_from_string_try_harder(optarg); + arg_signal = signal_from_string(optarg); if (arg_signal < 0) { log_error("Failed to parse signal string %s.", optarg); return -EINVAL; |