Commit 956b5f16 authored by Jan Lindström's avatar Jan Lindström Committed by GitHub

Merge pull request #446 from darkain/patch-1

Fixes Galera rsync sst on FreeBSD
parents 55c5448a 7f2fab01
...@@ -68,7 +68,7 @@ check_pid_and_port() ...@@ -68,7 +68,7 @@ check_pid_and_port()
local port_info="$(sockstat -46lp ${rsync_port} 2>/dev/null | \ local port_info="$(sockstat -46lp ${rsync_port} 2>/dev/null | \
grep ":${rsync_port}")" grep ":${rsync_port}")"
local is_rsync="$(echo $port_info | \ local is_rsync="$(echo $port_info | \
grep -w '[[:space:]]\+rsync[[:space:]]\+'"$rsync_pid" 2>/dev/null)" grep '[[:space:]]\+rsync[[:space:]]\+'"$rsync_pid" 2>/dev/null)"
;; ;;
*) *)
if ! which lsof > /dev/null; then if ! which lsof > /dev/null; then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment