Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/samhainadmin.pl.in

    r30 r3  
    2929use Fcntl qw(:DEFAULT :flock);
    3030
    31 # Do I/O to the data file in binary mode (so it
    32 # wouldn't complain about invalid UTF-8 characters).
    33 use bytes;
    34 
    3531File::Temp->safe_level( File::Temp::HIGH );
    3632
     
    519515    $action = 'f';
    520516}
    521 elsif (defined ($opts{'create-datafile'})) {
     517elsif (defined ($opts{'create-cfgfile'})) {
    522518    $action = 'D';
    523519}
    524 elsif (defined ($opts{'print-datafile'})) {
     520elsif (defined ($opts{'print-cfgfile'})) {
    525521    $action = 'd';
    526522}
Note: See TracChangeset for help on using the changeset viewer.