fix rm -f
"/bin/rm" should not issue a usage message if the "-f" option was
    specified.
			
			
This commit is contained in:
		
							parent
							
								
									fd4c2b74f3
								
							
						
					
					
						commit
						39b1aee2e1
					
				@ -1320,7 +1320,11 @@ int main(int argc, char **argv)
 | 
			
		||||
 | 
			
		||||
    switch (action) {
 | 
			
		||||
    case REMOVE:
 | 
			
		||||
	if (i == argc) usage();
 | 
			
		||||
	if (i == argc) {
 | 
			
		||||
	    if (fflag)
 | 
			
		||||
		exit(0);
 | 
			
		||||
	    usage();
 | 
			
		||||
	}
 | 
			
		||||
	break;
 | 
			
		||||
    case LINK:
 | 
			
		||||
	/* 'ln dir/file' is to be read as 'ln dir/file .'. */
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user