[Fuego] [PATCH] ftc: add user_check for when ftc is executed as root
Daniel Sangorrin
daniel.sangorrin at toshiba.co.jp
Wed May 9 08:05:51 UTC 2018
Signed-off-by: Daniel Sangorrin <daniel.sangorrin at toshiba.co.jp>
---
engine/scripts/ftc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/engine/scripts/ftc b/engine/scripts/ftc
index 2029c55..123da65 100755
--- a/engine/scripts/ftc
+++ b/engine/scripts/ftc
@@ -4297,9 +4297,11 @@ def main():
if command.startswith("build-job"):
# build jenkins jobs
+ user_check()
do_build_jobs(conf, options)
if command == "add-view":
+ user_check()
do_add_view(conf, options)
if command == "list-plans":
--
2.7.4
More information about the Fuego
mailing list