mirror of
				https://github.com/arkenfox/user.js.git
				synced 2025-10-31 14:19:06 -04:00 
			
		
		
		
	updater.sh/prefsCleaner.sh: quote command substitutions
Co-authored-by: Mohammed Anas <triallax@tutanota.com>
This commit is contained in:
		
							parent
							
								
									18f58442b0
								
							
						
					
					
						commit
						bba7735834
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -9,7 +9,7 @@ | |||
| ## DON'T GO HIGHER THAN VERSION x.9 !! ( because of ASCII comparison in update_prefsCleaner() ) | ||||
| 
 | ||||
| # Check if running as root and if any files have the owner/group as root/wheel. | ||||
| if [ "${EUID:-$(id -u)}" -eq 0 ]; then | ||||
| if [ "${EUID:-"$(id -u)"}" -eq 0 ]; then | ||||
| 	printf 'You should not run this with elevated privileges (such as with doas/sudo).\n' | ||||
| 	exit 1 | ||||
| elif [ -n "$(find ./ -user 0 -o -group 0)" ]; then | ||||
|  |  | |||
|  | @ -9,7 +9,7 @@ | |||
| ## DON'T GO HIGHER THAN VERSION x.9 !! ( because of ASCII comparison in update_updater() ) | ||||
| 
 | ||||
| # Check if running as root and if any files have the owner/group as root/wheel. | ||||
| if [ "${EUID:-$(id -u)}" -eq 0 ]; then | ||||
| if [ "${EUID:-"$(id -u)"}" -eq 0 ]; then | ||||
| 	printf 'You should not run this with elevated privileges (such as with doas/sudo).\n' | ||||
| 	exit 1 | ||||
| elif [ -n "$(find ./ -user 0 -o -group 0)" ]; then | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Celestial Nebula
						Celestial Nebula