Skip to content
  • Mike Fleetwood's avatar
    Also write "Root privileges are required ..." message to stderr (!34) · 56596d68
    Mike Fleetwood authored and Curtis Gedak's avatar Curtis Gedak committed
    To further help in diagnosing root authorisation issues by reporting the
    error message to the terminal too.  Also set a failure exit status when
    terminating with this error.
    
    Example:
        $ ./gpartedbin
        GParted 0.33.0-git
        configuration --enable-online-resize
        libparted 3.2
        Root privileges are required for running GParted
        $ echo $?
        1
    
    Closes !34 - Display more version and configuration information
    56596d68