[PATCH compass-ci] providers/qemu/kvm.sh: if qemu not exist, output and exit
 
            
            
            
            
                22 Jan
                
                    2021
                
            
            
                22 Jan
                
                '21
                
            
            
            
        
    
                10:51 a.m.
            
        If there is no qemu in compass-ci's environment, output something to remind users and then exit. Signed-off-by: Xu Xijian <hdxuxijian@163.com> --- providers/qemu/kvm.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/providers/qemu/kvm.sh b/providers/qemu/kvm.sh index b4e87fc..70d3ca6 100755 --- a/providers/qemu/kvm.sh +++ b/providers/qemu/kvm.sh @@ -193,6 +193,10 @@ individual_option() -netdev $netdev ) ;; + *) + echo "qemu not found: $qemu" + exit + ;; esac } -- 2.23.0
        1744
        
      
          Age (days ago)
        
      
        1744
        
    
          Last active (days ago)
        
        
        
        0 comments
    
    
        
        1 participants
    
    
    
    
    
    
    
    
    participants (1)
- 
                 Xu Xijian Xu Xijian