Show panic_action in --version.
authorMartin Pool <mbp@samba.org>
Mon, 8 Apr 2002 07:36:05 +0000 (07:36 +0000)
committerMartin Pool <mbp@samba.org>
Mon, 8 Apr 2002 07:36:05 +0000 (07:36 +0000)
options.c

index a928316..438a2f8 100644 (file)
--- a/options.c
+++ b/options.c
@@ -171,6 +171,10 @@ static void print_rsync_version(enum logcode f)
                ipv6, 
                (int) (sizeof(dumstat->st_ino) * 8),
                (int) (sizeof(INO64_T) * 8));
+#ifdef MAINTAINER_MODE
+       rprintf(f, "              panic action: \"%s\"\n",
+               get_panic_action());
+#endif
 
 #ifdef NO_INT64
         rprintf(f, "WARNING: no 64-bit integers on this platform!\n");