Fix build time error

The new security flags require that calls to system check their return
code, this one doesn't.

Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: I903c2b0430a6aba1d7695bd697485d477aa149c0
diff --git a/bmcctl/control_bmc_obj.c b/bmcctl/control_bmc_obj.c
index a7a3e73..5752505 100644
--- a/bmcctl/control_bmc_obj.c
+++ b/bmcctl/control_bmc_obj.c
@@ -25,7 +25,9 @@
     /* Wait a while before reboot, so the caller can be responded.
      */
     const char *reboot_command = "/bin/sh -c 'sleep 3;reboot'&";
-    system(reboot_command);
+    if(system(reboot_command) < 0){
+        return FALSE;
+    }
 
     control_bmc_complete_warm_reset(bmc, invocation);
     return TRUE;