Skip to content

Commit c2f825a

Browse files
committed
get_shell(): return char for efficiency
1 parent 95f56e2 commit c2f825a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

+stdlib/get_shell.m

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@
66

77
s = getenv("SHELL");
88

9-
try %#ok<TRYNC>
10-
s = string(s);
11-
end
12-
139
end
1410

1511
%!assert(ischar(get_shell()))

0 commit comments

Comments
 (0)