Skip to content

Commit 6dd9636

Browse files
committed
hard_link_count 0 if invalid
1 parent 3918646 commit 6dd9636

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

+stdlib/hard_link_count.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
p {mustBeTextScalar}
1111
end
1212

13-
c = [];
13+
c = 0;
1414

1515
if isunix() && stdlib.has_java()
1616
c = stdlib.java.hard_link_count(p);

0 commit comments

Comments
 (0)