Fix all warnings in source3 with gcc4.3.
[kamenim/samba.git] / lib / tdb / tools / tdbtool.c
index 2a11cdaef3d0e22ab9a8739ac2d3c59637a32882..b4ec095a394fb00e4f5e9fecb4e19f32f8ed98b2 100644 (file)
@@ -506,7 +506,9 @@ static int do_command(void)
             return 0;
        case CMD_SYSTEM:
            /* Shell command */
-           system(arg1);
+           if (system(arg1) == -1) {
+               terror("system() call failed\n");
+           }
            return 0;
        case CMD_QUIT:
            return 1;