on main help sign in
chore: small change
0a52748Kujtim Hoxha
internal/shell/shell.go+1−1
@@ -261,7 +261,7 @@ func (s *Shell) blockHandler() func(next interp.ExecHandlerFunc) interp.ExecHand
261
261
262 for _, blockFunc := range s.blockFuncs {
262 for _, blockFunc := range s.blockFuncs {
263 if blockFunc(args) {
263 if blockFunc(args) {
264− return fmt.Errorf("command '%s' is not allowed for security reasons", strings.Join(args, " "))
264+ return fmt.Errorf("command is not allowed for security reasons: %s", strings.Join(args, " "))
265 }
265 }
266 }
266 }
267
267