fix broken incremental tar - merge from 2.2
authorHerb Lewis <herb@samba.org>
Tue, 10 Dec 2002 21:50:44 +0000 (21:50 +0000)
committerHerb Lewis <herb@samba.org>
Tue, 10 Dec 2002 21:50:44 +0000 (21:50 +0000)
found by "Jacob Anawalt" <anawaltaj@hotmail.com>
(This used to be commit 52fdb787d426976941080acff126d592b288f301)

source3/script/smbtar

index cf3ff0ebe686257bafa864333b19a45753c746f5..f062cba9f04b484b89077b22b17ed2c78313ed75 100644 (file)
@@ -80,7 +80,8 @@ while getopts riavl:b:d:N:s:p:x:u:Xt: c; do
       tarcmd="x"
       ;;
    i) # [i]ncremental
-      tarargs=${tarargs}g
+      tarargs=${tarargs}ga
+      clientargs="-c 'tarmode inc'"
       ;;
    a) # [a]rchive
       tarargs=${tarargs}a