Removed test_binary_compatibility() from ctdlvisor.c because we don't do it that...
authorArt Cancro <ajc@citadel.org>
Fri, 16 Apr 2021 17:58:52 +0000 (13:58 -0400)
committerArt Cancro <ajc@citadel.org>
Fri, 16 Apr 2021 17:58:52 +0000 (13:58 -0400)
appimage/ctdlvisor.c

index ce6d8a6ec378fb563143647ceef6a45b0c22eafa..c9be7e13989fa19700af9fed98d242b0fe7690c5 100644 (file)
@@ -157,23 +157,6 @@ pid_t start_webcits() {
 }
 
 
-void test_binary_compatibility(void) {
-       char cmd[1024];
-       int ret;
-       fprintf(stderr, "ctdlvisor: testing compatibility...\n");
-       sprintf(cmd, "%s/usr/local/citadel/citserver -c", getenv("APPDIR"));
-       ret = system(cmd);
-       if (ret) {
-               fprintf(stderr, "ctdlvisor: this appimage cannot run on your system.\n"
-                               "           The reason may be indicated by any error messages appearing above.\n");
-       }
-       else {
-               fprintf(stderr, "ctdlvisor: this appimage appears to be compatible with your system.\n");
-       }
-       exit(ret);
-}
-
-
 void main_loop(void) {
        int status;
        pid_t who_exited;