From 1da1ed3ca11678e673418f0a7aa91466c28609a5 Mon Sep 17 00:00:00 2001 From: Alessandro Battilani Date: Fri, 7 May 2021 22:51:56 +0200 Subject: [PATCH] fix GFLOW --- UnitCsvReceiverSmart.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UnitCsvReceiverSmart.pl b/UnitCsvReceiverSmart.pl index 1979055..3a3f122 100644 --- a/UnitCsvReceiverSmart.pl +++ b/UnitCsvReceiverSmart.pl @@ -151,10 +151,10 @@ while ( my $line = $tail->GetLine() ) { setgid($gid); setuid($uid); $ENV{"HOME"} = 'home/' . $truser; - if ( $unittype = 'GFLOW' ) { + if ( $unittype eq 'GFLOW' ) { } - elsif { + else { exec( $scriptpath . "LoadCSVData.pl -f \"$dest\" -s \"$outpath/SQL/$filename" . "_"