Register graceful shutdown for list groups command
Change-Id: Ie9d336a9bc278b21026b7094387d5b9d40a053e8
This commit is contained in:
committed by
Matthias Sohn
parent
b016e3acf9
commit
42e806ed66
@@ -52,6 +52,7 @@ public class ListGroupsCommand extends SshCommand {
|
||||
|
||||
@Override
|
||||
public void run() throws Exception {
|
||||
enableGracefulStop();
|
||||
if (listGroups.getUser() != null && !listGroups.getProjects().isEmpty()) {
|
||||
throw die("--user and --project options are not compatible.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user