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 ...@@ -210,7 +210,11 @@ fi
if [ "$1" = "cancel" ] ; then if [ "$1" = "cancel" ] ; then
shift shift
#TASK="$(get_last)" || fatal #TASK="$(get_last)" || fatal
if [ "$GEARHOST" = "git.eter" ] || [ "$GEARHOST" = "git.office" ] ; then
docmd ssh $GEARHOST task cancel "$@"
else
docmd ssh $GEARHOST task abort "$@" docmd ssh $GEARHOST task abort "$@"
fi
exit exit
fi 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