Skip to content

Commit

Permalink
systemctl: print warning about missing /proc only as debug message
Browse files Browse the repository at this point in the history
rhel-only

Resolves: RHEL-3906
  • Loading branch information
msekletar committed Jan 6, 2025
1 parent faf449e commit 340ff26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/systemctl/systemctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1156,7 +1156,7 @@ static int run(int argc, char *argv[]) {
goto finish;

if (proc_mounted() == 0)
log_full(arg_no_warn ? LOG_DEBUG : LOG_WARNING,
log_full(LOG_DEBUG,
"%s%s/proc/ is not mounted. This is not a supported mode of operation. Please fix\n"
"your invocation environment to mount /proc/ and /sys/ properly. Proceeding anyway.\n"
"Your mileage may vary.",
Expand Down

0 comments on commit 340ff26

Please sign in to comment.