]> git.sesse.net Git - skvidarsync/commitdiff
Fix a warning in a test script.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 31 Aug 2024 14:10:36 +0000 (16:10 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 31 Aug 2024 18:18:16 +0000 (20:18 +0200)
bin/interpret.pl

index 2051ddb2be9a905a2aae1cf10187f48508cf74b5..0d10f9f4d93f98693eb547f96e3b90a4c1941664 100644 (file)
@@ -28,6 +28,8 @@ while (my $ref = $q->fetchrow_hashref) {
                print "$desc\n";
        }
 }
+$q->finish;
+$dbh->disconnect;
 
 sub db_connect {
        my $dbh = DBI->connect("dbi:Pg:dbname=$config::dbname;host=127.0.0.1", $config::dbuser, $config::dbpass, {RaiseError => 1})