[LibOS] Fix error propagation in __mount_others()

This commit is contained in:
Michał Kowalczyk
2019-01-23 15:50:47 +01:00
committed by Michał Kowalczyk
parent 4a63e6a577
commit 6e4a8d5c05
+1 -1
View File
@@ -210,7 +210,7 @@ static int __mount_others (void)
for (int n = 0 ; n < nkeys ; key = next, n++) {
for (next = key ; *next ; next++);
next++;
int ret = __mount_one_other(key, next - key - 1);
ret = __mount_one_other(key, next - key - 1);
if (ret < 0)
goto out;
}