diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-06-25 13:56:27 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-06-25 13:56:27 +0900 |
commit | 99c89da02d52619bb05633b70f07fdd353ea12ce (patch) | |
tree | 8e85c664fc3b231e84008a2a97cf225f3648c697 | |
parent | import: drop unnecessary condition (diff) | |
download | systemd-99c89da02d52619bb05633b70f07fdd353ea12ce.tar.gz systemd-99c89da02d52619bb05633b70f07fdd353ea12ce.tar.bz2 systemd-99c89da02d52619bb05633b70f07fdd353ea12ce.zip |
portable: fix error handling
-rw-r--r-- | src/portable/portable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/portable.c b/src/portable/portable.c index eb5daf3b0..3491723aa 100644 --- a/src/portable/portable.c +++ b/src/portable/portable.c @@ -782,7 +782,7 @@ static int install_profile_dropin( r = find_profile(profile, m->name, &from); if (r < 0) { - if (r != ENOENT) + if (r != -ENOENT) return log_debug_errno(errno, "Profile '%s' is not accessible: %m", profile); log_debug_errno(errno, "Skipping link to profile '%s', as it does not exist: %m", profile); |