mirror of
https://github.com/systemd/systemd.git
synced 2025-03-21 02:50:18 +03:00
execute: add some minor debug logging
This commit is contained in:
parent
ec5bcf0b69
commit
2544075c0b
@ -932,7 +932,7 @@ static int setup_credentials_internal(
|
||||
|
||||
r = path_is_mount_point(final);
|
||||
if (r < 0)
|
||||
return r;
|
||||
return log_debug_errno(r, "Failed to determine if '%s' is a mountpoint: %m", final);
|
||||
final_mounted = r > 0;
|
||||
|
||||
if (final_mounted) {
|
||||
@ -1125,7 +1125,7 @@ int exec_setup_credentials(
|
||||
FOREACH_STRING(i, t, u) {
|
||||
r = mkdir_label(i, 0700);
|
||||
if (r < 0 && r != -EEXIST)
|
||||
return r;
|
||||
return log_debug_errno(r, "Failed to make directory '%s': %m", i);
|
||||
}
|
||||
|
||||
r = setup_credentials_internal(
|
||||
|
Loading…
x
Reference in New Issue
Block a user