Commit 62dc9767 authored by Vitaly Lipatov's avatar Vitaly Lipatov

gitask: fix task cancel on git.eter/git.office

parent 56a6bb68
......@@ -210,7 +210,11 @@ fi
if [ "$1" = "cancel" ] ; then
shift
#TASK="$(get_last)" || fatal
docmd ssh $GEARHOST task abort "$@"
if [ "$GEARHOST" = "git.eter" ] || [ "$GEARHOST" = "git.office" ] ; then
docmd ssh $GEARHOST task cancel "$@"
else
docmd ssh $GEARHOST task abort "$@"
fi
exit
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment