slackware-sync: forgot to delete ...

This commit is contained in:
Vincent Batts 2014-08-06 17:57:34 -04:00
parent dcfb41dece
commit b919fcc4f2

View file

@ -41,7 +41,7 @@ func main() {
continue
}
cmd := exec.Command("rsync", "-avPHS", uri.String(), dest+"/")
cmd := exec.Command("rsync", "-avPHS", "--delete", uri.String(), dest+"/")
cmd.Stderr = os.Stderr // we'll want to see errors, regardless
if !*flQuiet {
cmd.Stdout = os.Stdout