mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-20 14:03:36 +03:00
B #-: Improve inotify error handling (OneGate/Proxy fix) (#2365)
This commit is contained in:
parent
727404d127
commit
85d16526ce
@ -187,6 +187,13 @@ class OneGateProxy
|
||||
exit 0
|
||||
end
|
||||
inotify
|
||||
rescue Errno::ENOENT => e
|
||||
@logger.error(self) do
|
||||
e.message
|
||||
end
|
||||
# We assume here that the service will be restarted by
|
||||
# the service manager.
|
||||
exit e.class::Errno
|
||||
end
|
||||
|
||||
def setup_service_addr
|
||||
|
Loading…
x
Reference in New Issue
Block a user