diff options
Diffstat (limited to 'src/mongo/db/commands/touch.cpp')
-rw-r--r-- | src/mongo/db/commands/touch.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/commands/touch.cpp b/src/mongo/db/commands/touch.cpp index bde76e8ceff..4a2d1a7bc5f 100644 --- a/src/mongo/db/commands/touch.cpp +++ b/src/mongo/db/commands/touch.cpp @@ -109,8 +109,8 @@ public: return false; } - return CommandHelpers::appendCommandStatus( - result, collection->touch(opCtx, touch_data, touch_indexes, &result)); + uassertStatusOK(collection->touch(opCtx, touch_data, touch_indexes, &result)); + return true; } }; static TouchCmd touchCmd; |