diff --git a/sbin/fileManagerImport.pl b/sbin/fileManagerImport.pl index 5513d4af8..6305a7d44 100644 --- a/sbin/fileManagerImport.pl +++ b/sbin/fileManagerImport.pl @@ -102,7 +102,7 @@ if (!($^O =~ /^Win/i) && $> != 0 && !$override) { print "Starting..." unless ($quiet); -WebGUI::Session::open($webguiRoot,$ARGV[1]); +WebGUI::Session::open($webguiRoot,$configFile); WebGUI::Session::refreshUserInfo(3); print "OK\n" unless ($quiet);