1
0
Fork 0

Fix typo.

This commit is contained in:
Willi Goesgens 2015-03-03 10:29:38 +01:00
parent 25b75bd75c
commit 677b35fb05
1 changed files with 3 additions and 1 deletions

View File

@ -786,7 +786,9 @@ function runInArangosh (options, instanceInfo, file, addArgs) {
catch(x) {
return rc;
}
if (result[0].HasOwnProperty('status')) {
print(result);
if ((typeof(result[0]) === 'object') &&
result[0].hasOwnProperty('status')) {
return result[0];
}
else {