From 0a5274840166e83a8d2e3fbbb8fcec2a6f324e26 Mon Sep 17 00:00:00 2001 From: Kujtim Hoxha Date: Fri, 11 Jul 2025 18:02:42 +0200 Subject: [PATCH] chore: small change --- internal/shell/shell.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/shell/shell.go b/internal/shell/shell.go index 097af74d0172264efbe899711ff57137abc6ee30..b655c5dbecf5b69c7ad102c53108733515138771 100644 --- a/internal/shell/shell.go +++ b/internal/shell/shell.go @@ -261,7 +261,7 @@ func (s *Shell) blockHandler() func(next interp.ExecHandlerFunc) interp.ExecHand for _, blockFunc := range s.blockFuncs { if blockFunc(args) { - return fmt.Errorf("command '%s' is not allowed for security reasons", strings.Join(args, " ")) + return fmt.Errorf("command is not allowed for security reasons: %s", strings.Join(args, " ")) } }