From 19a1576263cf72de200094de79095b1a0ae81ec8 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Fri, 22 Jun 2018 22:45:46 +0200 Subject: T689, T707: do not use sudo for op mode commands. Else they all are unavailable for operator level users. --- scripts/build-command-op-templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/build-command-op-templates b/scripts/build-command-op-templates index 25f03cf91..0383c8982 100755 --- a/scripts/build-command-op-templates +++ b/scripts/build-command-op-templates @@ -137,7 +137,7 @@ def make_node_def(props, command): if command is not None: - node_def += "run: sudo sh -c \"{0}\"\n".format(command.text) + node_def += "run: {0}\n".format(command.text) if debug: -- cgit v1.2.3