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 88d28d7..837d309 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";