bf3a8c4 check for non-NULL mac after calling aug_get_mac()

Authored and Committed by Laine Stump 8 years ago
    check for non-NULL mac after calling aug_get_mac()
    
    aug_get_mac returns 1 but mac = NULL when it doesn't find a
    match. find_ifcfg_path() had been only checking for a return > 0
    before using mac.
    
    All other uses of aug_get_mac() check the returned string as well as
    the return value.
    
        
file modified
+1 -1