1
0
Fork 0
mirror of https://github.com/vbatts/freezing-octo-hipster.git synced 2024-11-25 08:15:39 +00:00

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 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 cmd.Stderr = os.Stderr // we'll want to see errors, regardless
if !*flQuiet { if !*flQuiet {
cmd.Stdout = os.Stdout cmd.Stdout = os.Stdout