mirror of
https://github.com/google/nomulus.git
synced 2025-05-14 16:37:13 +02:00
Exit with error code when user is not logged in
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=226390329
This commit is contained in:
parent
a153f8ec77
commit
f83e96c448
1 changed files with 1 additions and 0 deletions
|
@ -170,6 +170,7 @@ final class RegistryCli implements AutoCloseable, CommandRunner {
|
||||||
System.err.println("===================================================================");
|
System.err.println("===================================================================");
|
||||||
System.err.println("You must login using 'nomulus login' prior to running this command.");
|
System.err.println("You must login using 'nomulus login' prior to running this command.");
|
||||||
System.err.println("===================================================================");
|
System.err.println("===================================================================");
|
||||||
|
System.exit(1);
|
||||||
} else {
|
} else {
|
||||||
throw ex;
|
throw ex;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue