mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	upgrade-postgresql: Check for undefined variables.
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							5e5d151c0c
						
					
				
				
					commit
					501d38b781
				
			@@ -1,5 +1,5 @@
 | 
				
			|||||||
#!/usr/bin/env bash
 | 
					#!/usr/bin/env bash
 | 
				
			||||||
set -eo pipefail
 | 
					set -euo pipefail
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if [ "$EUID" -ne 0 ]; then
 | 
					if [ "$EUID" -ne 0 ]; then
 | 
				
			||||||
    echo "Error: This script must be run as root" >&2
 | 
					    echo "Error: This script must be run as root" >&2
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user