Skip to content

Commit

Permalink
Merge pull request #446 from darkain/patch-1
Browse files Browse the repository at this point in the history
Fixes Galera rsync sst on FreeBSD
  • Loading branch information
Jan Lindström committed Sep 18, 2017
2 parents 55c5448 + 7f2fab0 commit 956b5f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/wsrep_sst_rsync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ check_pid_and_port()
local port_info="$(sockstat -46lp ${rsync_port} 2>/dev/null | \
grep ":${rsync_port}")"
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
Expand Down

0 comments on commit 956b5f1

Please sign in to comment.