@@ -227,7 +227,7 @@ func (s *Shell) blockHandler() func(next interp.ExecHandlerFunc) interp.ExecHand
228 for _, blockFunc := range s.blockFuncs {
228 for _, blockFunc := range s.blockFuncs {
229 if blockFunc(args) {
229 if blockFunc(args) {
230− return fmt.Errorf("command is not allowed for security reasons: %s", strings.Join(args, " "))
230+ return fmt.Errorf("command is not allowed for security reasons: %q", args[0])