Skip to content

Commit

Permalink
Fix crash
Browse files Browse the repository at this point in the history
  • Loading branch information
nift4 authored Feb 11, 2021
1 parent 6b50db9 commit b994546
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ public static String umsd(SDPartitionMeta meta) {
for (Partition p : meta.p)
s.append(umsd(p.type, meta.major, p.minor)).append(" && ");
String e = s.toString();
if (e.isEmpty()) return e;
return e.substring(0, e.length()-4);
}

Expand Down

0 comments on commit b994546

Please sign in to comment.