From fff9148a83c6dfbf8d58dd260b6598a20f6a6a48 Mon Sep 17 00:00:00 2001 From: Petros Angelatos Date: Sun, 21 Jul 2013 14:31:59 +0100 Subject: [PATCH] Missing arguments in async callback --- bootstrap.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bootstrap.coffee b/bootstrap.coffee index 21268f6f..af1a897d 100644 --- a/bootstrap.coffee +++ b/bootstrap.coffee @@ -42,7 +42,8 @@ bootstrapTasks = [ (callback) -> console.log('Starting VPN client..') exec('systemctl start openvpn@client', callback) - (callback) -> + + (stdout, stderr, callback) -> console.log('Enabling VPN client..') exec('systemctl enable openvpn@client', callback) ]