]> code.citadel.org Git - citadel.git/blobdiff - appimage/ctdlvisor.c
Removed test_binary_compatibility() from ctdlvisor.c because we don't do it that...
[citadel.git] / appimage / ctdlvisor.c
index 405a56bdaed68426601981707e640e7a29613387..c9be7e13989fa19700af9fed98d242b0fe7690c5 100644 (file)
@@ -1,4 +1,3 @@
-//
 // This is a supervisor program that handles start/stop/restart of
 // the various Citadel System components, when we are running on
 // an AppImage instance.
@@ -8,7 +7,7 @@
 // This program is open source software.  It runs great on the
 // Linux operating system (and probably elsewhere).  You can use,
 // copy, and run it under the terms of the GNU General Public
-// License version 3.  Richard Stallman is an asshole communist.
+// License version 3.
 //
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -158,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;