]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
dissect: Log when we fail to load the verity signature partition
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sat, 17 Sep 2022 20:34:56 +0000 (22:34 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 23 Sep 2022 10:24:09 +0000 (12:24 +0200)
src/dissect/dissect.c

index 4d49bad458310bf461007d12ecf85b23392b84fe..8cdf312f58ae804dab79a73c1db6f5f9d8fc3d4e 100644 (file)
@@ -948,7 +948,7 @@ static int run(int argc, char *argv[]) {
                         d->fd,
                         &arg_verity_settings);
         if (r < 0)
-                return r;
+                return log_error_errno(r, "Failed to load verity signature partition: %m");
 
         switch (arg_action) {