summaryrefslogtreecommitdiff
path: root/src/sysupdate/sysupdate-resource.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysupdate/sysupdate-resource.c')
-rw-r--r--src/sysupdate/sysupdate-resource.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysupdate/sysupdate-resource.c b/src/sysupdate/sysupdate-resource.c
index 04d425299d..e1e260addc 100644
--- a/src/sysupdate/sysupdate-resource.c
+++ b/src/sysupdate/sysupdate-resource.c
@@ -553,7 +553,7 @@ int resource_resolve_path(
r = stat("/run/systemd/volatile-root", &orig_root_stats);
if (r < 0) {
- if (errno == -ENOENT) /* volatile-root not found */
+ if (errno == ENOENT) /* volatile-root not found */
r = get_block_device_harder("/usr/", &d);
else
return log_error_errno(r, "Failed to stat /run/systemd/volatile-root: %m");