From 0c003b0961bd4cafb3ae5f625958ccc25c4ae8e2 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Wed, 8 Jul 2020 20:49:35 +0200 Subject: [PATCH] helpers.cpp: add add script name to debug output Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/b11646d5ceeab183425c3e91e0827bca35b2f02d Author: Thilo Graf Date: 2020-07-08 (Wed, 08 Jul 2020) --- 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 35532a5cd..03e35b0d7 100644 --- a/src/system/helpers.cpp +++ b/src/system/helpers.cpp @@ -559,7 +559,7 @@ bool exec_controlscript(std::string script) dprintf(DEBUG_NORMAL, "executing %s\n", controlscript.c_str()); int ret = my_system(controlscript.c_str()); if (ret) - dprintf(DEBUG_NORMAL, "control script failed\n"); + dprintf(DEBUG_NORMAL, "exec control script [%s] failed\n", controlscript.c_str()); return ret; }