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) {
|
ITerminal.withStreams(true, isSubProcess = detachStdio) {
|
||||||
if (clientModByEnv || userCommands.exists(isClient)) {
|
if (clientModByEnv || userCommands.exists(isClient)) {
|
||||||
val args = userCommands.toList.filterNot(isClient)
|
val args = userCommands.toList.filterNot(isClient)
|
||||||
NetworkClient.run(dealiasBaseDirectory(configuration), args)
|
Exit(NetworkClient.run(dealiasBaseDirectory(configuration), args))
|
||||||
Exit(0)
|
|
||||||
} else {
|
} else {
|
||||||
val state0 = StandardMain
|
val state0 = StandardMain
|
||||||
.initialState(
|
.initialState(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue