susfs: fixed susfs unsupported output

manager: if susfs not supported then hide it
This commit is contained in:
Rifat Azad
2024-12-24 06:13:46 +06:00
parent a0540aa8ec
commit 0907ca55d8
2 changed files with 11 additions and 5 deletions

View File

@@ -165,6 +165,8 @@ int main(int argc, char *argv[]) {
}
printf("%s", enabled_features_buf);
free(enabled_features_buf);
} else {
printf("Invalid\n");
}
} else if (strcmp(argv[1], "support") == 0) {
unsigned long enabled_features;
@@ -183,6 +185,8 @@ int main(int argc, char *argv[]) {
} else {
printf("Unsupported\n");
}
} else {
printf("Unsupported\n");
}
} else if (argc == 3 && !strcmp(argv[1], "sus_su")) {
int last_working_mode = 0;