• Welcome to The Network People Support Forums. Please login or sign up.

bug in nt_export_djb.pl when doing setting to --make?

Started by shaun, April 11, 2005, 07:18:57 AM

Previous topic - Next topic

shaun

i've ran into twice now.  I'm just about positive it's a bug.  What happens is that when the export script runs using --make...

example:
exec setuidgid tinydns envdir ./env /var/djbdns/exporter_nsid-1/nt_export_djb.pl -nsid 1 --make all -force

the export status in nictool is always failed even though it was successful.  My ghettofied solution was to change the following line..

$export="FAILED" if $sec_rsync_cdb lt 0;

to

$export="FAILED" if $sec_rsync_cdb lt 0 && $rsync;

I'm not sure if thats really the best solution but it does make nictool's status say successful.

Just a FYI.