diff options
Diffstat (limited to 'data/openssh/_metadata/postinst')
-rwxr-xr-x | data/openssh/_metadata/postinst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/data/openssh/_metadata/postinst b/data/openssh/_metadata/postinst index 6d47c8d6f..4899fcae7 100755 --- a/data/openssh/_metadata/postinst +++ b/data/openssh/_metadata/postinst @@ -1,3 +1,4 @@ #!/bin/sh -/bin/launchctl load /Library/LaunchDaemons/com.openssh.sshd.plist +/bin/launchctl list com.openssh.sshd &>/dev/null || + /bin/launchctl load /Library/LaunchDaemons/com.openssh.sshd.plist exit 0 |