From: Art Cancro Date: Fri, 16 Apr 2021 17:58:52 +0000 (-0400) Subject: Removed test_binary_compatibility() from ctdlvisor.c because we don't do it that... X-Git-Tag: v939~74 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=10d2ab3c4d60fbf991967646cc821b8bb38770b0;hp=9a5d0d91d659602b4e36212e4dfae401619ae9b7 Removed test_binary_compatibility() from ctdlvisor.c because we don't do it that way anymore. --- diff --git a/appimage/ctdlvisor.c b/appimage/ctdlvisor.c index ce6d8a6ec..c9be7e139 100644 --- a/appimage/ctdlvisor.c +++ b/appimage/ctdlvisor.c @@ -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;