projects
/
debian
/
amanda
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix spurious directory inclusion that causes piuparts errors
[debian/amanda]
/
amandad-src
/
amandad.c
diff --git
a/amandad-src/amandad.c
b/amandad-src/amandad.c
index 04774345284227e102734fab93354909e8435c6f..e3f11a0f38465b5ccf97bad02694deb1310b1ccd 100644
(file)
--- a/
amandad-src/amandad.c
+++ b/
amandad-src/amandad.c
@@
-244,6
+244,11
@@
main(
/*NOTREACHED*/
}
+ if (argc > 1 && argv && argv[1] && g_str_equal(argv[1], "--version")) {
+ printf("amandad-%s\n", VERSION);
+ return (0);
+ }
+
/* Don't die when child closes pipe */
signal(SIGPIPE, SIG_IGN);