mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-10-30 11:11:12 -04:00 
			
		
		
		
	Fix config.pl to return successful exitcode for full and realfull
This commit is contained in:
		
							parent
							
								
									45103f3e15
								
							
						
					
					
						commit
						dd9895d810
					
				| @ -225,13 +225,16 @@ if ($action eq "set"&& $force_option && !$done) { | ||||
| 
 | ||||
| close $config_write; | ||||
| 
 | ||||
| if ($action eq "get" && $done) { | ||||
|     if ($value ne '') { | ||||
|         print $value; | ||||
| if ($action eq "get") { | ||||
|     if($done) { | ||||
|         if ($value ne '') { | ||||
|             print $value; | ||||
|         } | ||||
|         exit 0; | ||||
|     } else { | ||||
|         # If the symbol was not found, return an error | ||||
|         exit -1; | ||||
|     } | ||||
|     exit 0; | ||||
| } else { | ||||
|     exit -1; | ||||
| } | ||||
| 
 | ||||
| if ($action eq "full" && !$done) { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Simon Butcher
						Simon Butcher