cmd/shell: Bugfix
This commit is contained in:
parent
694e673c38
commit
233a51d4cd
1 changed files with 1 additions and 1 deletions
|
|
@ -193,7 +193,7 @@ func (instance *Instance) Delete() error {
|
||||||
|
|
||||||
// Shell executes a shell command inside the
|
// Shell executes a shell command inside the
|
||||||
func (instance Instance) Shell(io stream.IOStream, argv ...string) (int, error) {
|
func (instance Instance) Shell(io stream.IOStream, argv ...string) (int, error) {
|
||||||
return instance.Stack().Exec(io, "barrel", "/user_shell.sh", argv...)
|
return instance.Stack().Exec(io, "barrel", "/bin/sh", append([]string{"/user_shell.sh"}, argv...)...)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Domain returns the full domain name of this instance
|
// Domain returns the full domain name of this instance
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue