aboutsummaryrefslogtreecommitdiffstats
path: root/community/at/0001-opt_V.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/at/0001-opt_V.patch')
-rw-r--r--community/at/0001-opt_V.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/community/at/0001-opt_V.patch b/community/at/0001-opt_V.patch
new file mode 100644
index 00000000000..aebc75519d7
--- /dev/null
+++ b/community/at/0001-opt_V.patch
@@ -0,0 +1,19 @@
+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