Skip to content

Commit c95a860

Browse files
committed
'scw stop' doesn't exit on first failure
1 parent a74d508 commit c95a860

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -957,6 +957,7 @@ Same as Hack, without step 5
957957

958958
#### Fixes
959959

960+
* `scw stop server1 server2` doesn't exit on first stopping failure
960961
* `scw run IMAGE [COMMAND]`, default *COMMAND* is now `if [ -x /bin/bash ]; then exec /bin/bash; else exec /bin/sh; fi`
961962

962963
### 1.1.0 (2015-06-12)

commands/stop.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ func runStop(cmd *types.Command, args []string) {
5959
} else {
6060
fmt.Println(needle)
6161
}
62-
if hasError {
63-
os.Exit(1)
64-
}
62+
}
63+
if hasError {
64+
os.Exit(1)
6565
}
6666
}

0 commit comments

Comments
 (0)