Fix off-by-one error in --test argument printout in start-stop-daemon.
Fixes #34.
This commit is contained in:
		
				
					committed by
					
						
						William Hubbs
					
				
			
			
				
	
			
			
			
						parent
						
							3c5dc0ec77
						
					
				
				
					commit
					cddb4aad08
				
			@@ -1075,7 +1075,7 @@ start_stop_daemon(int argc, char **argv)
 | 
			
		||||
			exit (EXIT_SUCCESS);
 | 
			
		||||
 | 
			
		||||
		einfon("Would start");
 | 
			
		||||
		while (argc-- >= 0)
 | 
			
		||||
		while (argc-- > 0)
 | 
			
		||||
			printf(" %s", *argv++);
 | 
			
		||||
		printf("\n");
 | 
			
		||||
		eindent();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user