summaryrefslogtreecommitdiff
path: root/share/hydractl/deploy
diff options
context:
space:
mode:
Diffstat (limited to 'share/hydractl/deploy')
-rwxr-xr-xshare/hydractl/deploy6
1 files changed, 3 insertions, 3 deletions
diff --git a/share/hydractl/deploy b/share/hydractl/deploy
index 3b4ae91..969a557 100755
--- a/share/hydractl/deploy
+++ b/share/hydractl/deploy
@@ -49,9 +49,9 @@ if [ ! -d /usr/local/hydra ]; then
# Remove from old location
# We're keep hydra on /usr/local/bin as /usr/local/sbin might
# not be available on $PATH when connecting to a remote system.
- rm /usr/local/sbin/hydra
- rm /usr/local/sbin/hydractl
- rm /usr/local/sbin/hydras
+ $sudo rm /usr/local/sbin/hydra
+ $sudo rm /usr/local/sbin/hydractl
+ $sudo rm /usr/local/sbin/hydras
else
( cd /usr/local/hydra ; $sudo git pull ; $sudo git reset --hard $COMMIT )
fi