Commit 1452de9
netconsole: source sysconfig/network only if it exists
Although the comment said "check if network is up",
the code only sourced the configuration file, but did not fail
if it did not exist and happily continued.
Also on current versions of Fedora, the sysconfig/network
does not exist by default, so you see a warning message
when you start the service.
So let's just check if the file exists and only source it
if it does (for backwards compatibility).
(cherry picked from commit ad2a578)
Resolves: RHEL-406601 parent b8b18db commit 1452de9
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
| 24 | + | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
| |||
0 commit comments