rm on non-empty dir was wrongly printing that it was removed - fixes #1371
This commit is contained in:
@@ -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})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user