diff options
-rw-r--r-- | src/integritysetup/integritysetup.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/integritysetup/integritysetup.c b/src/integritysetup/integritysetup.c index eeb5cdbdbb..5fd220c515 100644 --- a/src/integritysetup/integritysetup.c +++ b/src/integritysetup/integritysetup.c @@ -175,8 +175,10 @@ static int run(int argc, char *argv[]) { return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "detach has a maximum of two arguments."); r = crypt_init_by_name(&cd, volume); - if (r == -ENODEV) + if (r == -ENODEV) { + log_info("Volume %s already inactive.", volume); return 0; + } if (r < 0) return log_error_errno(r, "crypt_init_by_name() failed: %m"); |