diff options
Diffstat (limited to 'src/logic/slbt_exec_execute.c')
-rw-r--r-- | src/logic/slbt_exec_execute.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/logic/slbt_exec_execute.c b/src/logic/slbt_exec_execute.c index 91a1cb7..b397306 100644 --- a/src/logic/slbt_exec_execute.c +++ b/src/logic/slbt_exec_execute.c @@ -50,7 +50,8 @@ int slbt_exec_execute( if (script) { /* wrapper */ - if ((size_t)snprintf(wrapper,sizeof(wrapper),"%s%s.exe.wrapper", + if ((size_t)snprintf(wrapper,sizeof(wrapper), + "%s%s.exe.wrapper", (script[0] == '/') ? "" : "./", script) >= sizeof(wrapper)) { |