mirror of https://github.com/sbt/sbt.git
Set the exit value when sbt is started with -client
This commit is contained in:
parent
e1d8f0cafd
commit
b70bdce683
|
|
@ -85,8 +85,7 @@ private[sbt] object xMain {
|
|||
ITerminal.withStreams(true, isSubProcess = detachStdio) {
|
||||
if (clientModByEnv || userCommands.exists(isClient)) {
|
||||
val args = userCommands.toList.filterNot(isClient)
|
||||
NetworkClient.run(dealiasBaseDirectory(configuration), args)
|
||||
Exit(0)
|
||||
Exit(NetworkClient.run(dealiasBaseDirectory(configuration), args))
|
||||
} else {
|
||||
val state0 = StandardMain
|
||||
.initialState(
|
||||
|
|
|
|||
Loading…
Reference in New Issue