From c4036ca29a69fb1a7850a07d9a10c254a8d40517 Mon Sep 17 00:00:00 2001 From: Suresh Alse Date: Tue, 31 Oct 2017 08:45:43 -0700 Subject: [PATCH] Fix https://github.com/alseambusher/crontab-ui/issues/64 --- crontab.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crontab.js b/crontab.js index a43d096..3fd0faa 100644 --- a/crontab.js +++ b/crontab.js @@ -129,7 +129,9 @@ exports.set_crontab = function(env_vars, callback){ if (err) return callback(err); else callback(); }); - } + } else { + callback(); + } }); }); });