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:
@@ -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