aboutsummaryrefslogtreecommitdiff
path: root/share/hydractl
diff options
context:
space:
mode:
Diffstat (limited to 'share/hydractl')
-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