IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 16, 2011, 3:04:31 PM (14 years ago)
Author:
bills
Message:

In the survey tasks for the background restore stages and distribution make
magic optional controlled with a parameter to the survey.add macros

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/disttool.c

    r32197 r32680  
    141141    PXOPT_LOOKUP_BOOL(use_alternate, config->args, "-use_alternate", false);
    142142    PXOPT_LOOKUP_BOOL(no_magic, config->args, "-no_magic", false);
    143     PXOPT_LOOKUP_BOOL(i_am_sure, config->args, "-i_am_sure", false);
    144143    PXOPT_LOOKUP_STR(set_label, config->args, "-set_label", false, false);
    145144    PXOPT_LOOKUP_STR(set_data_group, config->args, "-set_data_group", false, false);
     
    165164    PXOPT_LOOKUP_STR(dist_group, config->args, "-dist_group", false, false);
    166165
    167     // queuing no_magic runs can be quite dangerous. Require confirmation
    168     if (no_magic && !pretend && !i_am_sure) {
    169         psError(PXTOOLS_ERR_SYS, true, "-i_am_sure required to queue no_magic distribution runs");
    170         return false;
    171     }
    172    
    173166    if (use_alternate) {
    174167        if (strcmp(stage, "raw")) {
Note: See TracChangeset for help on using the changeset viewer.