helpers: fix error message in exec_initscript()

Origin commit data
------------------
Commit: c6b72f034f
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-06-22 (Tue, 22 Jun 2021)

Origin message was:
------------------
- helpers: fix error message in exec_initscript()
This commit is contained in:
vanhofen
2021-06-22 21:39:51 +02:00
parent bff71552d8
commit 88b5c7f38d

View File

@@ -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;
}