1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-31 14:50:15 +03:00

cryptsetup: use mangle_none() at one more place

This commit is contained in:
Yu Watanabe 2025-01-19 04:42:20 +09:00
parent 6d8582ecd6
commit 7e21105002

View File

@ -6,6 +6,7 @@
#include <sys/types.h>
#include "alloc-util.h"
#include "cryptsetup-util.h"
#include "dropin.h"
#include "escape.h"
#include "fd-util.h"
@ -232,7 +233,7 @@ static int print_dependencies(FILE *f, const char* device_path, const char* time
assert(f);
assert(device_path);
if (STR_IN_SET(device_path, "-", "none"))
if (!mangle_none(device_path))
/* None, nothing to do */
return 0;