From 233a51d4cd62fcbc01d51c01969c253dd9d66852 Mon Sep 17 00:00:00 2001 From: Tom Wiesing Date: Wed, 14 Sep 2022 15:10:19 +0200 Subject: [PATCH] cmd/shell: Bugfix --- internal/wisski/instances.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/wisski/instances.go b/internal/wisski/instances.go index 559e559..e111cf8 100644 --- a/internal/wisski/instances.go +++ b/internal/wisski/instances.go @@ -193,7 +193,7 @@ func (instance *Instance) Delete() error { // Shell executes a shell command inside the 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