From c9ac37f10202b51aaf8277e55716c0cac368615b Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Tue, 22 Jun 2021 21:39:51 +0200 Subject: [PATCH] - helpers: fix error message in exec_initscript() Signed-off-by: Thilo Graf --- src/system/helpers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/helpers.cpp b/src/system/helpers.cpp index e2f3a2776..15f5438e5 100644 --- a/src/system/helpers.cpp +++ b/src/system/helpers.cpp @@ -488,7 +488,7 @@ bool exec_initscript(std::string script, std::string command, std::string system dprintf(DEBUG_NORMAL, "Error: [helpers] [%s - %d] no system command defined\n", __func__, __LINE__); if (ret) - dprintf(DEBUG_NORMAL, "Error: [helpers] exec init script [%s] failed\n", system_command.c_str()); + dprintf(DEBUG_NORMAL, "Error: [helpers] exec init script [%s] failed\n", script.c_str()); return ret == 0 ? true : false; }