manager: fixed getSuSFSVersion() in InfoCard

susfs: else error output as result
This commit is contained in:
Rifat Azad
2024-12-22 09:23:56 +06:00
parent 3febc5ae79
commit 67b14a34a9
3 changed files with 3 additions and 3 deletions

View File

@@ -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),

View File

@@ -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]);