fixed the --suffix option. It wasn't being propogated to the remote
authorAndrew Tridgell <tridge@samba.org>
Tue, 30 Dec 1997 10:54:47 +0000 (10:54 +0000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 30 Dec 1997 10:54:47 +0000 (10:54 +0000)
end in the server_options() function.

main.c

diff --git a/main.c b/main.c
index 88d28d709a8b614b5e6cfa0ca2e46927de184235..837d309751ce103a31374af26e23f37290baa23b 100644 (file)
--- a/main.c
+++ b/main.c
@@ -158,6 +158,11 @@ static void server_options(char **args,int *argc)
     args[ac++] = bsize;
   }    
 
+  if (strcmp(backup_suffix, BACKUP_SUFFIX)) {
+         args[ac++] = "--suffix";
+         args[ac++] = backup_suffix;
+  }
+
   if (delete_mode)
     args[ac++] = "--delete";