adjust netconf for new su behaviour
reported and debugged by Ryan Lie, tracker item 594.
This commit is contained in:
		
							parent
							
								
									3f775404d9
								
							
						
					
					
						commit
						36db008cb5
					
				| @ -338,7 +338,7 @@ if [ -n "$prefix" ] ; then | ||||
|     fi | ||||
| fi | ||||
| 
 | ||||
| if [ "$USER" != root ] ; then | ||||
| if [ `whoami` != root ] ; then | ||||
|     test "$v" = 1 && echo "Please run netconf as root." | ||||
|     exit 1 | ||||
| fi | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Ben Gras
						Ben Gras