From 88b5c7f38d752c5da1f2fd5ee4e0bb92c3168f9a Mon Sep 17 00:00:00 2001 From: vanhofen Date: Tue, 22 Jun 2021 21:39:51 +0200 Subject: [PATCH] helpers: fix error message in exec_initscript() Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/c6b72f034f79a110343228d07b63cc9865bd8d78 Author: vanhofen Date: 2021-06-22 (Tue, 22 Jun 2021) Origin message was: ------------------ - helpers: fix error message in exec_initscript() --- 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 e3ac61602..837848cd6 100644 --- a/src/system/helpers.cpp +++ b/src/system/helpers.cpp @@ -589,7 +589,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; }