summaryrefslogtreecommitdiff
path: root/src/scriptfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/scriptfile.c')
-rw-r--r--src/scriptfile.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/scriptfile.c b/src/scriptfile.c
index 9c644e2b0..838d5f642 100644
--- a/src/scriptfile.c
+++ b/src/scriptfile.c
@@ -1133,7 +1133,8 @@ do_source(
{
// Already loaded and no need to load again, return here.
*ret_sid = sid;
- return OK;
+ retval = OK;
+ goto theend;
}
#endif