mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	swaybg: check for exact number of arguments
This commit is contained in:
		
							parent
							
								
									78c2e29328
								
							
						
					
					
						commit
						504ac84cbc
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -28,7 +28,7 @@ int main(int argc, const char **argv) {
 | 
				
			||||||
	surfaces = create_list();
 | 
						surfaces = create_list();
 | 
				
			||||||
	registry = registry_poll();
 | 
						registry = registry_poll();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (argc < 4) {
 | 
						if (argc != 4) {
 | 
				
			||||||
		sway_abort("Do not run this program manually. See man 5 sway and look for output options.");
 | 
							sway_abort("Do not run this program manually. See man 5 sway and look for output options.");
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue