Commit a7b5c3d9 authored by Timothy Stack's avatar Timothy Stack

Add a check for a 'maint' file and return immediately if it exists, in

case things are under maintenance.
parent 2ad7f67c
......@@ -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 = [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment