Allow the --force-device option to work with smart/up/down/devices

This commit is contained in:
Andrea Mazzoleni 2019-05-05 09:17:05 +02:00
parent 37b0064d60
commit 19c75877f1
2 changed files with 19 additions and 7 deletions

View file

@ -1001,6 +1001,10 @@ int main(int argc, char* argv[])
switch (operation) {
case OPERATION_FIX :
case OPERATION_CHECK :
case OPERATION_SMART :
case OPERATION_DEVICES :
case OPERATION_SPINUP :
case OPERATION_SPINDOWN :
break;
default :
if (opt.force_device) {