5a52f43 Bug 700890 - (cov#10812) Check return value of open() properly in libadmin

Authored and Committed by nkinder 13 years ago
    Bug 700890 - (cov#10812) Check return value of open() properly in libadmin
    
    We do not properly check the return value of open() in the run_cmd()
    function in libadmin.  The open() function will return -1 if the open
    failed.  The if condition needs to check if the return value is < 0 so
    it can bail out properly.
    
        
file modified
+1 -1