Merge pull request #1415 from krishnasrinivas/1371

rm on non-empty dir was wrongly printing that it was removed - fixes #1371
This commit is contained in:
Harshavardhana
2015-11-18 00:18:45 -08:00
+1
View File
@@ -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})
}