Minor change to make USB startup more resilient

This commit is contained in:
Lorenz Meier 2013-07-19 08:09:35 +02:00
parent 56805e8378
commit 2c31961bb0

View File

@ -1488,7 +1488,7 @@ int sensors_main(int argc, char *argv[])
if (!strcmp(argv[1], "start")) {
if (sensors::g_sensors != nullptr)
errx(1, "sensors task already running");
errx(0, "sensors task already running");
sensors::g_sensors = new Sensors;