1. Diab Jerius
  2. wikiup

Commits

Diab Jerius  committed c694a46

incorrectly overrode configuration file value for 'insecure'

  • Participants
  • Parent commits e0ab1a2
  • Branches default

Comments (0)

Files changed (1)

File src/wikiup.pl.in

View file
   $config->set( transform => $ARGV{transform} )
     if defined $ARGV{transform} && ! defined $config->get( 'transform' );
 
-  $config->set( insecure => $ARGV{insecure} );
+  $config->set( insecure => $ARGV{insecure} )
+    if defined $ARGV{insecure};
 
   # set attributes
   $config->set_attr( $_ ) foreach split( ',', $ARGV{attrs} );
 	     attrs => '',
 	     rename => 0,
 	     verbose => 0,
-	     insecure => 0,
 	     interactive => 0,
 	    );