diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2016-01-12 20:57:32 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2016-01-12 20:57:32 +0900 |
commit | 1fb6fef94f96b0c693b1014ffdc95b3ef4cfc9c4 (patch) | |
tree | 5fd2d28f8ee62b08da3a19e81f4749845f18c096 | |
parent | 793d70f47a8be7f1ebf2d4341031f13469967484 (diff) | |
download | poe-1fb6fef94f96b0c693b1014ffdc95b3ef4cfc9c4.tar.gz |
fix condition
-rw-r--r-- | sandbox/systemd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sandbox/systemd.c b/sandbox/systemd.c index e32b66a..ca58735 100644 --- a/sandbox/systemd.c +++ b/sandbox/systemd.c @@ -42,7 +42,7 @@ poe_init_systemd(pid_t pid) test(sd_pid_get_unit(pid, &gunit)); bool cmp = strcmp(unit, gunit); free(gunit); - if (cmp) break; + if (!cmp) break; } #undef test } |