util: Add stub unit tests for the call types in the m5 utility.
[gem5.git] / util / m5 / src / command.cc
index d7dc030283d8104a1c6c15adb12df84fc2ed3730..2527dc6aec4506c5a1660daf931baaca5a05beac 100644 (file)
@@ -52,6 +52,5 @@ Command::run(const DispatchTable &dt, Args &args)
     if (num_args < cmd.minArgs || num_args > cmd.maxArgs)
         return false;
 
-    cmd.func(dt, args);
-    return true;
+    return cmd.func(dt, args);
 }