diff --git a/doorlockd/door.cpp b/doorlockd/door.cpp index 430874e..60fd0e5 100644 --- a/doorlockd/door.cpp +++ b/doorlockd/door.cpp @@ -39,7 +39,7 @@ void Door::lock() _heartbeat.join(); } - system("wget -O /dev/null --timeout 3 \"http://homer.binary.kitchen:8080/set?color=000000\" 2>&1 > /dev/null"); + system("wget -O /dev/null --timeout 3 \"http://homer.binary.kitchen:8080/set?color=000000\" > /dev/null 2>&1"); } void Door::unlock()