diff options
author | 2017-12-15 16:36:35 +0900 | |
---|---|---|
committer | 2017-12-19 10:43:57 +0900 | |
commit | 586290017d09a1081bfcd328098022a933d40888 (patch) | |
tree | 2b82583181bd2f5939709e80b6831c721397a1a2 /src/notify | |
parent | analyze: use normal bus connection for "plot" verb (#7685) (diff) | |
download | systemd-586290017d09a1081bfcd328098022a933d40888.tar.gz systemd-586290017d09a1081bfcd328098022a933d40888.tar.bz2 systemd-586290017d09a1081bfcd328098022a933d40888.zip |
tree-wide: use !strv_isempty() instead of strv_length() > 0
Diffstat (limited to 'src/notify')
-rw-r--r-- | src/notify/notify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/notify/notify.c b/src/notify/notify.c index 3e511b7e4..4a34e1e9d 100644 --- a/src/notify/notify.c +++ b/src/notify/notify.c @@ -179,7 +179,7 @@ int main(int argc, char* argv[]) { goto finish; } - if (strv_length(final_env) <= 0) { + if (strv_isempty(final_env)) { r = 0; goto finish; } |