diff --git a/gitlab/functions.sh b/gitlab/functions.sh
index 2438e200920c0fb9e82a8018b2a98a77441df2f4..acd0f18c9b282e66c92c22f356638d37cb541ba3 100644
--- a/gitlab/functions.sh
+++ b/gitlab/functions.sh
@@ -30,9 +30,9 @@ is_master() {
     fi
   fi
   if [[ "${retval}" == "master" ]]; then
-    return "true"
+    echo "true"
   else
-    return "false"
+    echo "false"
   fi
 }