Skip to content

Commit fb6280a

Browse files
committed
Merge branch 'potatosalad/fix-restricted-shell-user-defined-functions' into maint
* potatosalad/fix-restricted-shell-user-defined-functions: Fix user-defined function support when using the restricted shell. OTP-19833
2 parents 163d893 + b02a5f7 commit fb6280a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/stdlib/src/shell.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1159,7 +1159,7 @@ not_restricted(exit, []) ->
11591159
true;
11601160
not_restricted(fl, []) ->
11611161
true;
1162-
not_restricted(fd, [_,_]) ->
1162+
not_restricted(fd, [_,_,_]) ->
11631163
true;
11641164
not_restricted(ft, [_]) ->
11651165
true;

0 commit comments

Comments
 (0)