[Synergy] Fix start_client_at

This commit is contained in:
Ivan Malison 2016-10-18 20:51:14 -07:00
parent 337fae68cb
commit 51dadf5bfc
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -1,7 +1,7 @@
SYNERGY_CONF="$HOME/.synergy.conf"
synergy_start_client_at() {
ssh "$1" 'test -z $(pgrep synergyc) || synergyc '"$(localip)"'; ps aux | grep synergyc'
ssh "$1" '[[ -z "$(pgrep synergyc)" ]] && synergyc '"$(localip)"
}
synergy_start_server_here() {