chore: small change
commit0a5274840166e83a8d2e3fbbb8fcec2a6f324e26
authorKujtim Hoxha <kujtimii.h@gmail.com>
dateFri 11 Jul 2025, 18:02 (1 year ago)
parent2fdbcac
internal/shell/shell.go+1−1
@@ -261,7 +261,7 @@ func (s *Shell) blockHandler() func(next interp.ExecHandlerFunc) interp.ExecHand
261261
262262 for _, blockFunc := range s.blockFuncs {
263263 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, " "))
265265 }
266266 }
267267