scripts: Make zulip-puppet-apply check if the user is root.

Fixes #10833.
This commit is contained in:
Rohitt Vashishtha 2018-11-15 09:56:25 +00:00 committed by Tim Abbott
parent 767acfa2ac
commit 0975bbb39e
1 changed files with 3 additions and 1 deletions

View File

@ -5,7 +5,9 @@ import sys
import subprocess
import configparser
import re
from lib.zulip_tools import parse_lsb_release
from lib.zulip_tools import parse_lsb_release, script_should_be_root
script_should_be_root()
force = False
extra_args = sys.argv[1:]