From 054aaadde833221eb7f4eba2d605921c6bcc2c5b Mon Sep 17 00:00:00 2001 From: Krishna Srinivas Date: Wed, 18 Nov 2015 00:09:25 -0800 Subject: [PATCH] rm on non-empty dir was wrongly printing that it was removed - fixes #1371 --- rm-main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/rm-main.go b/rm-main.go index 8173f751..eb27a75e 100644 --- a/rm-main.go +++ b/rm-main.go @@ -198,6 +198,7 @@ func mainRm(ctx *cli.Context) { } else { if err := rm(url, isIncomplete, isFake); err != nil { errorIf(err.Trace(url), "Unable to remove ‘"+url+"’.") + continue } printMsg(rmMessage{url}) }