From 9d66bcefd3d50418f17793199d7a81e693279cac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Mon, 13 Aug 2018 07:46:09 +0200 Subject: [PATCH] posix main: print script failure as an error instead of a warning --- platforms/posix/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platforms/posix/src/main.cpp b/platforms/posix/src/main.cpp index 753c15da62..51f7b764ea 100644 --- a/platforms/posix/src/main.cpp +++ b/platforms/posix/src/main.cpp @@ -527,7 +527,7 @@ int run_startup_bash_script(const std::string &commands_file, const std::string PX4_INFO("Startup script returned successfully"); } else { - PX4_WARN("Startup script returned with return value: %d", ret); + PX4_ERR("Startup script returned with return value: %d", ret); } } else {