Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1515d85
)
b 1944
author
niu
<niu>
Mon, 22 Sep 2003 02:33:04 +0000
(
02:33
+0000)
committer
niu
<niu>
Mon, 22 Sep 2003 02:33:04 +0000
(
02:33
+0000)
fix the bug about parse argument when lfs run in interactive mode.
lustre/utils/lfs.c
patch
|
blob
|
history
diff --git
a/lustre/utils/lfs.c
b/lustre/utils/lfs.c
index
69dd128
..
ba81d02
100644
(file)
--- a/
lustre/utils/lfs.c
+++ b/
lustre/utils/lfs.c
@@
-114,6
+114,7
@@
static int lfs_find(int argc, char **argv)
int quiet, verbose, recursive, c, rc;
struct obd_uuid *obduuid = NULL;
+ optind = 0;
quiet = verbose = recursive = 0;
while ((c = getopt_long(argc, argv, short_opts,
long_opts, NULL)) != -1) {