Skip to content

Commit b02a5f7

Browse files
potatosaladfrazze-jobb
authored andcommitted
Fix user-defined function support when using the restricted shell.
1 parent 8a831df commit b02a5f7

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)