diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2013-10-11 12:49:05 +0100 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2013-10-16 11:49:09 +0100 |
commit | d335119f7ab03c1221386749e0b539d67bdc7831 (patch) | |
tree | 4d207f411199f96ef0728a1370019364d4b34651 /tools | |
parent | 2a3bb93c5c8740624cbfeeeb314408d07a64ff79 (diff) | |
download | xen-d335119f7ab03c1221386749e0b539d67bdc7831.tar.gz xen-d335119f7ab03c1221386749e0b539d67bdc7831.tar.bz2 xen-d335119f7ab03c1221386749e0b539d67bdc7831.zip |
xend: Drop long deprecation warning in /var/run not /tmp
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/python/xen/xm/xm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/python/xen/xm/xm b/tools/python/xen/xm/xm index 6a3f54555a..fef4272a50 100755 --- a/tools/python/xen/xm/xm +++ b/tools/python/xen/xm/xm @@ -6,7 +6,7 @@ from xen.xm import main print >>sys.stderr, ("WARNING: xend/xm is deprecated.") -if not os.path.exists("/tmp/xm-deprecation-long-warning"): +if not os.path.exists("/var/run/xm-deprecation-long-warning"): print >>sys.stderr, (""" xend is deprecated and scheduled for removal. Please migrate to another toolstack ASAP. @@ -15,6 +15,6 @@ See http://wiki.xen.org/wiki/Choice_of_Toolstacks for information on other alternatives, including xl which is designed to be a drop in replacement for xm (http://wiki.xen.org/wiki/XL). """) - open("/tmp/xm-deprecation-long-warning", "w").close() + open("/var/run/xm-deprecation-long-warning", "w").close() main.main(sys.argv) |