Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- make HEAD from b_post_cmd3
[fs/lustre-release.git]
/
lustre
/
liblustre
/
tests
/
recovery_small.c
diff --git
a/lustre/liblustre/tests/recovery_small.c
b/lustre/liblustre/tests/recovery_small.c
index
6af93f1
..
79e950b
100644
(file)
--- a/
lustre/liblustre/tests/recovery_small.c
+++ b/
lustre/liblustre/tests/recovery_small.c
@@
-132,7
+132,7
@@
void cleanup_dir(const char *path)
sprintf(cmd, \
"%s %s \"echo %lu > /proc/sys/lustre/fail_loc\"", \
ssh_cmd, mds_server, drop_arr[drop_index].code); \
- if (
system(cmd)) {
\
+ if (
(rc = system(cmd))) {
\
printf("error excuting remote command: %d\n", rc); \
exit(rc); \
} \