Skip to content

Commit ab48fb7

Browse files
committed
limactl shell: avoid silencing errors
Fix issue 2980 Before: ``` $ limactl shell alpine $ echo $? 255 ``` After: ``` $ limactl shell alpine [email protected]: Permission denied (publickey,keyboard-interactive). $ echo $? 255 ``` Signed-off-by: Akihiro Suda <[email protected]>
1 parent 5fb9353 commit ab48fb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/limactl/shell.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ func shellAction(cmd *cobra.Command, args []string) error {
185185
sshArgs = append(sshArgs, "-o", "SendEnv=COLORTERM")
186186
}
187187
sshArgs = append(sshArgs, []string{
188-
"-q",
188+
"-o", "LogLevel=ERROR",
189189
"-p", strconv.Itoa(inst.SSHLocalPort),
190190
inst.SSHAddress,
191191
"--",

0 commit comments

Comments
 (0)