cb965e6 Error out if mkdir() fails

Authored and Committed by Nalin Dahyabhai 10 years ago
    Error out if mkdir() fails
    
    If we're attempting to create a directory under the user's home
    directory, but mkdir() fails for some reason other than that the
    directory already exists, exit with an error.  Per static analysis.
    
        
file modified
+13 -1