From 46f537ed86b55f31bc1b05b21179136e6999507a Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 12 May 2007 22:00:25 +0000 Subject: [PATCH] --- setup.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index ee5ce20070..1de2535937 100644 --- a/setup.py +++ b/setup.py @@ -333,5 +333,9 @@ if os.access('/etc/udev/rules.d', os.W_OK): '''BUS=="usb", SYSFS{idProduct}=="029b", SYSFS{idVendor}=="054c", MODE="660", GROUP="plugdev"\n''' ) udev.close() - check_call('udevstart', shell=True) - print 'success' + try: + check_call('udevstart', shell=True) + print 'success' + except: + print >>sys.stderr, "Couldn't reload udev, you may have to reboot" +