summaryrefslogtreecommitdiffstats
path: root/sshuttle/sdnotify.py
diff options
context:
space:
mode:
Diffstat (limited to 'sshuttle/sdnotify.py')
-rw-r--r--sshuttle/sdnotify.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sshuttle/sdnotify.py b/sshuttle/sdnotify.py
index 5024dd2..72e827b 100644
--- a/sshuttle/sdnotify.py
+++ b/sshuttle/sdnotify.py
@@ -35,7 +35,7 @@ def _notify(message):
assert isinstance(message, bytes)
try:
- return (sock.sendto(message, addr) > 0)
+ return sock.sendto(message, addr) > 0
except (OSError, IOError) as e:
debug1("Error notifying systemd: %s\n" % e)
return False