Skip to content

Commit

Permalink
Don't rely on having lvmsync in the path on local invocations
Browse files Browse the repository at this point in the history
  • Loading branch information
mpalmer committed Sep 3, 2014
1 parent dc2f2ba commit 75ac969
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/lvmsync
Expand Up @@ -188,7 +188,7 @@ def run_client(opts)
server_cmd = if desthost
"ssh #{desthost} lvmsync --apply - #{snapback} #{destdev}"
else
"lvmsync --apply - #{snapback} #{destdev}"
"#{$0} --apply - #{snapback} #{destdev}"
end

outfd = IO.popen(server_cmd, 'w')
Expand Down

0 comments on commit 75ac969

Please sign in to comment.