]> git.ipfire.org Git - thirdparty/mlmmj.git/commitdiff
mlmmj-unsub: remove the check for the full path
authorBaptiste Daroussin <bapt@FreeBSD.org>
Wed, 8 Dec 2021 17:01:39 +0000 (18:01 +0100)
committerBaptiste Daroussin <bapt@FreeBSD.org>
Wed, 8 Dec 2021 17:01:39 +0000 (18:01 +0100)
mlmmj-unsub does not execute anyother program anymore, making this
check now useless

src/mlmmj-unsub.c

index 48827056750a5d6f3e4ad46a7534f70036d610ca..d8a5cdfbdd31949e93de3c1868094c205314628c 100644 (file)
@@ -281,8 +281,6 @@ int main(int argc, char **argv)
        enum subreason reasonsub = SUB_ADMIN;
 
        mlmmj_list_init(&list);
-       CHECKFULLPATH(argv[0]);
-       
        log_set_name(argv[0]);
 
        while ((opt = getopt(argc, argv, "hcCdenNVUL:a:sbqrR")) != -1) {