X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=client-src%2Fruntar.c;h=3019087a1d1e5cd865483a324846a27dbe1029a6;hb=fd48f3e498442f0cbff5f3606c7c403d0566150e;hp=cc4705faada555cdd4a4bfd6fd85268e7f5c2d72;hpb=96f35b20267e8b1a1c846d476f27fcd330e0b018;p=debian%2Famanda diff --git a/client-src/runtar.c b/client-src/runtar.c index cc4705f..3019087 100644 --- a/client-src/runtar.c +++ b/client-src/runtar.c @@ -34,8 +34,8 @@ * ... */ #include "amanda.h" -#include "version.h" #include "util.h" +#include "conffile.h" int main(int argc, char **argv); @@ -69,12 +69,14 @@ main( signal(SIGPIPE, SIG_IGN); dbopen(DBG_SUBDIR_CLIENT); + config_init(CONFIG_INIT_CLIENT, NULL); + if (argc < 3) { error(_("Need at least 3 arguments\n")); /*NOTREACHED*/ } - dbprintf(_("version %s\n"), version()); + dbprintf(_("version %s\n"), VERSION); if (strcmp(argv[3], "--create") != 0) { error(_("Can only be used to create tar archives\n"));