diff options
| author | Igor Pashev <pashev.igor@gmail.com> | 2012-04-14 00:52:27 +0400 |
|---|---|---|
| committer | Igor Pashev <pashev.igor@gmail.com> | 2012-04-14 00:52:27 +0400 |
| commit | 5247e1afe80aa84606dbe58cf1b3ad52beb383be (patch) | |
| tree | 6c5ccaea6617c8e2dcb34d86d1d9609036114d2f | |
| parent | 2e13a85e396570d0492ffd9dac9fefee59524da8 (diff) | |
| download | node-augeas-5247e1afe80aa84606dbe58cf1b3ad52beb383be.tar.gz | |
return undefined in LibAugeas::save() if ok
| -rw-r--r-- | libaugeas.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libaugeas.cc b/libaugeas.cc index 3bfe2d6..5589fd4 100644 --- a/libaugeas.cc +++ b/libaugeas.cc @@ -295,6 +295,7 @@ Handle<Value> LibAugeas::save(const Arguments& args) int rc = aug_save(obj->m_aug); if (0 == rc) { // ok + return scope.Close(Undefined()); } else { /* TODO: error description is under /augeas/.../error * Example: |
