Whamcloud - gitweb
Branch HEAD
[fs/lustre-release.git] / lustre / tests / mpi / write_append_truncate.c
index bae9ba4..473f33a 100644 (file)
@@ -523,6 +523,7 @@ int main(int argc, char *argv[])
 
                         if (error == 1) {
                                 char command[4096];
+                                int rc;
 
                                 rprintf(rank, n, 0, STATUS_FMT"\n",
                                         write_char, write_size, write_size,
@@ -530,7 +531,7 @@ int main(int argc, char *argv[])
                                         trunc_offset, trunc_offset);
 
                                 sprintf(command, "od -Ax -a %s", fnames[0]);
-                                system(command);
+                                rc = system(command);
                                 MPI_Abort(MPI_COMM_WORLD, 1);
                         }
                 }