Changeset 72 for trunk/mondo/mondo


Ignore:
Timestamp:
Oct 20, 2005, 1:37:20 PM (14 years ago)
Author:
andree
Message:

growisofs doesn't like to be called via sudo (there's a lengthy
explanation in the growisofs manpage).

This change checks for this condition in function
post_param_configuration() and gives a fatal error if it is detected.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mondo/mondo/common/libmondo-tools.c

    r59 r72  
    561561                    mondo_mkisofs_sz,
    562562                    extra_cdrom_params, bkpinfo->media_device);
     563        }
     564        if (getenv ("SUDO_COMMAND")) {
     565          fatal_error("Can't write DVDs as sudo because growisofs doesn't support this - please see the growisofs manpage for details.");
    563566        }
    564567        log_msg(2, "call_make_iso (DVD res) is ... %s",
Note: See TracChangeset for help on using the changeset viewer.