mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Catch a startup error due to the usage of some antivirus
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -163,7 +163,7 @@ def pid_lock(path):
|
||||
pid = int(f.read())
|
||||
try:
|
||||
os.kill(pid, 0) # If the proces is not running kill return an error
|
||||
except OSError:
|
||||
except (OSError, SystemError):
|
||||
pid = None
|
||||
except OSError as e:
|
||||
log.critical("Can't open pid file %s: %s", pid, str(e))
|
||||
|
||||
Reference in new issue
Block a user