mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	scripts: Make zulip-puppet-apply check if the user is root.
Fixes #10833.
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							3d243a457f
						
					
				
				
					commit
					cfa2c6bf37
				
			@@ -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:]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user