Remove obsolete (undocumented) "travis-ci" command line argument.

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2019-06-07 21:48:48 +02:00
parent e1c79f502c
commit b5e086d555
2 changed files with 0 additions and 12 deletions

8
args.c
View File

@@ -13,7 +13,6 @@
static bool debug = false; static bool debug = false;
bool daemonmode = true; bool daemonmode = true;
bool travis = false;
int argc_dnsmasq = 0; int argc_dnsmasq = 0;
const char** argv_dnsmasq = NULL; const char** argv_dnsmasq = NULL;
@@ -90,13 +89,6 @@ void parse_args(int argc, char* argv[])
ok = true; ok = true;
} }
// Use files in local places for Travis-CI tests
if(strcmp(argv[i], "travis-ci") == 0)
{
travis = true;
ok = true;
}
// Implement dnsmasq's test function // Implement dnsmasq's test function
if(strcmp(argv[i], "dnsmasq-test") == 0) if(strcmp(argv[i], "dnsmasq-test") == 0)
{ {

View File

@@ -49,10 +49,6 @@ int main (int argc, char **argv) {
command = argv[i]; command = argv[i];
continue; continue;
} }
// Set socket file location (respect special location on the CI system Travis)
if(strcmp(argv[i], "travis") == 0)
strcpy(address.sun_path,"pihole-FTL.sock");
} }
// Connect to the socket provided by pihole-FTL // Connect to the socket provided by pihole-FTL