mirror of
				https://github.com/TheLocehiliosan/yadm
				synced 2025-06-13 13:03:58 +00:00 
			
		
		
		
	Use -n instead of negating -z
				
					
				
			This commit is contained in:
		
							parent
							
								
									1f2bd1f57b
								
							
						
					
					
						commit
						340f88bd52
					
				| @ -55,7 +55,7 @@ function test_alt() { | ||||
|   else | ||||
|     #; running any passed through Git command should trigger auto-alt | ||||
|     run "${T_YADM_Y[@]}" status | ||||
|     if [ ! -z "$auto_alt" ] && [[ "$output" =~ Linking.+$link_name ]]; then | ||||
|     if [ -n "$auto_alt" ] && [[ "$output" =~ Linking.+$link_name ]]; then | ||||
|       echo "ERROR: Reporting of link should not happen" | ||||
|       return 1 | ||||
|     fi | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user