You've already forked KernelSU-Next
mirror of
https://github.com/KernelSU-Next/KernelSU-Next.git
synced 2025-08-27 23:46:34 +00:00
manager: fixed getSuSFSVersion() in InfoCard
susfs: else error output as result
This commit is contained in:
@@ -401,7 +401,7 @@ private fun InfoCard() {
|
||||
)
|
||||
|
||||
Spacer(Modifier.height(16.dp))
|
||||
val suSFS = getSuSFS()
|
||||
val suSFS = getSuSFSVersion()
|
||||
if (suSFS != "Unsupported") {
|
||||
InfoCardItem(
|
||||
label = stringResource(R.string.home_susfs_version),
|
||||
|
||||
Binary file not shown.
@@ -22,7 +22,7 @@ int main(int argc, char *argv[]) {
|
||||
if (!error) {
|
||||
printf("%s\n", version);
|
||||
} else {
|
||||
fprintf(stderr, "Failed to retrieve version\n");
|
||||
printf("Unsupported\n");
|
||||
}
|
||||
}
|
||||
// If 'support' is given, check if version starts with 'v'
|
||||
@@ -35,7 +35,7 @@ int main(int argc, char *argv[]) {
|
||||
printf("Unsupported\n");
|
||||
}
|
||||
} else {
|
||||
fprintf(stderr, "Failed to retrieve version\n");
|
||||
printf("Unsupported\n");
|
||||
}
|
||||
} else {
|
||||
fprintf(stderr, "Invalid argument: %s\n", argv[1]);
|
||||
|
||||
Reference in New Issue
Block a user