mirror of
				https://github.com/fspc/gbootroot.git
				synced 2025-10-31 07:35:36 -04:00 
			
		
		
		
	Why it is nice to test on uml, if genext2fs isn't in path and filesystem type
is changed, path can't be found .. now it makes an exception when executable is genext2fs.
This commit is contained in:
		
							parent
							
								
									38b2b6dab2
								
							
						
					
					
						commit
						74c3318cbf
					
				| @ -309,8 +309,11 @@ sub file_system { | |||||||
| 		# Check to see if it actually exists | 		# Check to see if it actually exists | ||||||
| 		my $executable = (split(/\s+/,$entry[2]))[0]; | 		my $executable = (split(/\s+/,$entry[2]))[0]; | ||||||
| 		if (!find_file_in_path(basename($executable))) { | 		if (!find_file_in_path(basename($executable))) { | ||||||
| 		    error_window("gBootRoot: ERROR: Enter a valid command"); | 		    if ( $executable ne "genext2fs" ) { | ||||||
| 		    return; | 			error_window | ||||||
|  | 			    ("gBootRoot: ERROR: Enter a valid command"); | ||||||
|  | 			return; | ||||||
|  | 		    } | ||||||
| 		} | 		} | ||||||
| 		if ($executable =~ m,/,) { | 		if ($executable =~ m,/,) { | ||||||
| 		    if (! -e $executable) { | 		    if (! -e $executable) { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user