|  |  |  | @ -1,5 +1,7 @@ | 
			
		
	
		
			
				
					|  |  |  |  | #define _POSIX_C_SOURCE 200809 | 
			
		
	
		
			
				
					|  |  |  |  | #define _POSIX_C_SOURCE 200809L | 
			
		
	
		
			
				
					|  |  |  |  | #include <libgen.h> | 
			
		
	
		
			
				
					|  |  |  |  | #include <stdio.h> | 
			
		
	
		
			
				
					|  |  |  |  | #include <string.h> | 
			
		
	
		
			
				
					|  |  |  |  | #include <strings.h> | 
			
		
	
		
			
				
					|  |  |  |  | #include <unistd.h> | 
			
		
	
		
			
				
					|  |  |  |  | #include <wordexp.h> | 
			
		
	
	
		
			
				
					|  |  |  | @ -112,8 +114,8 @@ struct cmd_results *output_cmd_background(int argc, char **argv) { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 		bool can_access = access(src, F_OK) != -1; | 
			
		
	
		
			
				
					|  |  |  |  | 		if (!can_access) { | 
			
		
	
		
			
				
					|  |  |  |  | 			sway_log(SWAY_ERROR, "Unable to access background file '%s': %s", | 
			
		
	
		
			
				
					|  |  |  |  | 					src, strerror(errno)); | 
			
		
	
		
			
				
					|  |  |  |  | 			sway_log_errno(SWAY_ERROR, "Unable to access background file '%s'", | 
			
		
	
		
			
				
					|  |  |  |  | 					src); | 
			
		
	
		
			
				
					|  |  |  |  | 			config_add_swaynag_warning("Unable to access background file '%s'", | 
			
		
	
		
			
				
					|  |  |  |  | 					src); | 
			
		
	
		
			
				
					|  |  |  |  | 			free(src); | 
			
		
	
	
		
			
				
					|  |  |  | 
 |