Bug 40069

Summary: ssh girar task rm без параметров удаляет последнее задание
Product: Infrastructure Reporter: Николай Костригин <nickel>
Component: girarAssignee: Dmitry V. Levin <ldv>
Status: CLOSED FIXED QA Contact: Andrey Cherepanov <cas>
Severity: normal    
Priority: P5 CC: glebfm, ldv
Version: unspecified   
Hardware: x86_64   
OS: Linux   

Description Николай Костригин 2021-05-20 17:49:18 MSK
а хотелось бы, чтобы ничего не делал.

$ ssh girar task rm 
removing task #272277 ... done

т.к. иногда при последовательных удалениях Enter нажимается, чуть раньше, чем вставка номера задания.
Comment 1 Dmitry V. Levin 2021-05-20 18:00:24 MSK
commit d283aec2998e373e2080108bf6cc9003c848067f
Author: Dmitry V. Levin <ldv@altlinux.org>
Date:   Thu May 20 15:00:00 2021 +0000

    girar-task-rm: refuse to remove implicitly specified tasks (ALT #40069)
    
    Resolves: https://bugzilla.altlinux.org/40069
Comment 2 Николай Костригин 2021-05-20 18:29:12 MSK
Спасибо