aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2016-01-12 20:57:32 +0900
committerKazuki Yamaguchi <k@rhe.jp>2016-01-12 20:57:32 +0900
commit1fb6fef94f96b0c693b1014ffdc95b3ef4cfc9c4 (patch)
tree5fd2d28f8ee62b08da3a19e81f4749845f18c096
parent793d70f47a8be7f1ebf2d4341031f13469967484 (diff)
downloadpoe-1fb6fef94f96b0c693b1014ffdc95b3ef4cfc9c4.tar.gz
fix condition
-rw-r--r--sandbox/systemd.c2
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
}