cmd/shell: Bugfix

This commit is contained in:
Tom Wiesing 2022-09-14 15:10:19 +02:00
parent 694e673c38
commit 233a51d4cd
No known key found for this signature in database

View file

@ -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