Quote argument in activate_synergy_for so that multiple lines don't cause test to blow up.

This commit is contained in:
Ivan Malison 2014-08-24 13:45:02 -07:00
parent 66782345ff
commit 216f62317c

View File

@ -33,6 +33,6 @@ function clear_synergy_for_ip() {
}
function activate_synergy_for() {
test -z $(pgrep synergys) && synergys --config ~/synergy.conf
test -z "$(pgrep synergys)" && synergys --config ~/synergy.conf
ssh $1 "source ~/.zshrc && make_me_synergy"
}