forked from coolaj86/telebit.js
		
	bugfix: always launchctl unload, not just on DEBUG
This commit is contained in:
		
							parent
							
								
									461166d3e3
								
							
						
					
					
						commit
						8589a66fca
					
				| @ -429,8 +429,8 @@ if [ -d "/Library/LaunchDaemons" ]; then | |||||||
| 
 | 
 | ||||||
|     if [ -n "${TELEBIT_DEBUG}" ]; then |     if [ -n "${TELEBIT_DEBUG}" ]; then | ||||||
|       echo "    > launchctl unload -w $my_app_launchd_service >/dev/null 2>/dev/null" |       echo "    > launchctl unload -w $my_app_launchd_service >/dev/null 2>/dev/null" | ||||||
|       launchctl unload -w "$my_app_launchd_service" >/dev/null 2>/dev/null |  | ||||||
|     fi |     fi | ||||||
|  |     launchctl unload -w "$my_app_launchd_service" >/dev/null 2>/dev/null | ||||||
|   else |   else | ||||||
|     my_app_launchd_service_skel="usr/share/dist/Library/LaunchDaemons/${my_app_pkg_name}.plist" |     my_app_launchd_service_skel="usr/share/dist/Library/LaunchDaemons/${my_app_pkg_name}.plist" | ||||||
|     my_app_launchd_service="$my_root/Library/LaunchDaemons/${my_app_pkg_name}.plist" |     my_app_launchd_service="$my_root/Library/LaunchDaemons/${my_app_pkg_name}.plist" | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user