Skip to content

Commit

Permalink
Replace /bin/bash in oc rsh with /bin/sh -i
Browse files Browse the repository at this point in the history
  • Loading branch information
mfojtik committed Feb 22, 2016
1 parent 6061189 commit 84258b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/cli/cmd/rsh.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func NewCmdRsh(name string, parent string, f *clientcmd.Factory, in io.Reader, o
}
cmd.Flags().BoolVarP(&options.ForceTTY, "tty", "t", false, "Force a pseudo-terminal to be allocated")
cmd.Flags().BoolVarP(&options.DisableTTY, "no-tty", "T", false, "Disable pseudo-terminal allocation")
cmd.Flags().StringVar(&options.Executable, "shell", "/bin/bash", "Path to shell command")
cmd.Flags().StringVar(&options.Executable, "shell", "/bin/sh", "Path to the shell command")
cmd.Flags().StringVarP(&options.ContainerName, "container", "c", "", "Container name; defaults to first container")
cmd.Flags().SetInterspersed(false)
return cmd
Expand Down

0 comments on commit 84258b8

Please sign in to comment.