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:
574f83d
)
* don't open for writing
author
rread
<rread>
Thu, 10 Oct 2002 17:44:17 +0000
(17:44 +0000)
committer
rread
<rread>
Thu, 10 Oct 2002 17:44:17 +0000
(17:44 +0000)
lustre/utils/lconf
patch
|
blob
|
history
diff --git
a/lustre/utils/lconf
b/lustre/utils/lconf
index
6d27904
..
a06ea98
100755
(executable)
--- a/
lustre/utils/lconf
+++ b/
lustre/utils/lconf
@@
-1575,8
+1575,8
@@
def main():
args = parse_cmdline(sys.argv[1:])
if len(args) > 0:
- if not os.access(args[0], os.R_OK
| os.W_OK
):
- print 'File not found:', args[0]
+ if not os.access(args[0], os.R_OK):
+ print 'File not found
or readable
:', args[0]
sys.exit(1)
dom = xml.dom.minidom.parse(args[0])
elif config.url():