From 7c6d915acf67815f1699644f71cd851b685f0ce6 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Tue, 20 Jan 2009 17:08:44 +0000 Subject: updated exit status handling of exec script --- src/uanytun.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/uanytun.c') diff --git a/src/uanytun.c b/src/uanytun.c index c4a4f1b..d1919d6 100644 --- a/src/uanytun.c +++ b/src/uanytun.c @@ -362,8 +362,8 @@ int main(int argc, char* argv[]) log_printf(NOTICE, "dev of type '%s' opened, actual name is '%s'", tun_get_type_string(&dev), dev.actual_name_); if(opt.post_up_script_) { + log_printf(NOTICE, "executing post-up script '%s'", opt.post_up_script_); int ret = exec_script(opt.post_up_script_, dev.actual_name_); - log_printf(NOTICE, "post-up script returned %d", ret); } -- cgit v1.2.3