posix main: print script failure as an error instead of a warning

This commit is contained in:
Beat Küng 2018-08-13 07:46:09 +02:00 committed by Daniel Agar
parent 273988c124
commit 9d66bcefd3
1 changed files with 1 additions and 1 deletions

View File

@ -527,7 +527,7 @@ int run_startup_bash_script(const std::string &commands_file, const std::string
PX4_INFO("Startup script returned successfully"); PX4_INFO("Startup script returned successfully");
} else { } else {
PX4_WARN("Startup script returned with return value: %d", ret); PX4_ERR("Startup script returned with return value: %d", ret);
} }
} else { } else {