Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
a7b5c3d9
Commit
a7b5c3d9
authored
Nov 30, 2005
by
Timothy Stack
Browse files
Add a check for a 'maint' file and return immediately if it exists, in
case things are under maintenance.
parent
2ad7f67c
Changes
1
Hide whitespace changes
Inline
Side-by-side
sensors/nfstrace/nfstrace.proxy
View file @
a7b5c3d9
...
...
@@ -5,6 +5,7 @@ import sys
import
time
import
socket
import
getopt
import
os
,
os
.
path
import
MySQLdb
...
...
@@ -19,6 +20,11 @@ except IOError:
sys
.
exit
(
1
)
pass
if
os
.
path
.
exists
(
"/var/nfstrace/maint"
):
# sys.stderr.write("not available\n")
sys
.
exit
(
0
)
pass
VERBOSITY
=
1
GC_TABLES
=
[
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment