btrfs-progs: defrag return zero on success

Signed-off-by: Anand Jain <anand.jain@oracle.com>
This commit is contained in:
Anand Jain 2013-03-18 15:29:38 +08:00 committed by David Sterba
parent 0c7136f8e0
commit e9393c220f

View File

@ -446,7 +446,7 @@ static int cmd_defrag(int argc, char **argv)
exit(1);
}
return errors + 20;
return errors;
}
static const char * const cmd_resize_usage[] = {