1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 12:15:32 +03:00
aports/community/at/0001-opt_V.patch
2022-07-05 16:49:06 +02:00

19 lines
581 B
Diff

Patch-Source: https://src.fedoraproject.org/rpms/at/blob/f36/f/at-3.1.14-opt_V.patch
diff --git a/at.c.opt b/at.c
--- a/at.c
+++ b/at.c
@@ -842,10 +842,9 @@ main(int argc, char **argv)
*/
if (disp_version) {
- fprintf(stderr, "at version " VERSION "\n"
- "Please report bugs to the Debian bug tracking system (http://bugs.debian.org/)\n"
- "or contact the maintainers (at@packages.debian.org).\n");
- exit(EXIT_SUCCESS);
+ fprintf(stderr, "at version " VERSION "\n");
+ if (argc == 2)
+ exit(EXIT_SUCCESS);
}
/* select our program