Changeset cd63d58 for conf.c


Ignore:
Timestamp:
2008-06-29T12:47:39Z (11 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
f5d1b31
Parents:
1145964
Message:

Now using an environment variable instead of a flag to pass state info when
restarting the ForkDaemon. Preparing for a proper fallback when execv()
fails. (Bug #425)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • conf.c

    r1145964 rcd63d58  
    7878        }
    7979       
    80         while( argc > 0 && ( opt = getopt( argc, argv, "i:p:P:nvIDFc:d:hR:u:" ) ) >= 0 )
     80        while( argc > 0 && ( opt = getopt( argc, argv, "i:p:P:nvIDFc:d:hu:" ) ) >= 0 )
    8181        /*     ^^^^ Just to make sure we skip this step from the REHASH handler. */
    8282        {
     
    145145                                "  -h  Show this help page.\n" );
    146146                        return NULL;
    147                 }
    148                 else if( opt == 'R' )
    149                 {
    150                         /* We can't load the statefile yet (and should make very sure we do this
    151                            only once), so set the filename here and load the state information
    152                            when initializing ForkDaemon. (This option only makes sense in that
    153                            mode anyway!) */
    154                         ipc_master_set_statefile( optarg );
    155147                }
    156148                else if( opt == 'u' )
Note: See TracChangeset for help on using the changeset viewer.