If /dev/watchdog is not present and a WATCHDOG_MODULE env variable is set, output it's name before trying to load it (helps debugging).
Signed-off-by: Thomas Lamprecht <[email protected]> --- src/watchdog-mux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/watchdog-mux.c b/src/watchdog-mux.c index 16eef64..46046ed 100644 --- a/src/watchdog-mux.c +++ b/src/watchdog-mux.c @@ -125,6 +125,7 @@ main(void) perror("assemble modprobe command failed"); exit(EXIT_FAILURE); } + fprintf(stderr, "Loading watchdog module '%s'\n", wd_module); system(cmd); } else { system("modprobe -q softdog"); // load softdog by default -- 2.1.4 _______________________________________________ pve-devel mailing list [email protected] http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
