Code

contrib/cussh.pl: Fix a typo in the `FLUSH' command.
[collectd.git] / contrib / cussh.pl
index 3f1f7c80e14bdeae93519cbefb2ba9ed4373e3dc..7357ad785e327ee71e73bc80e59602d46665dc6e 100755 (executable)
@@ -310,7 +310,7 @@ sub flush {
                                $args{"timeout"} = $value;
                        }
                        elsif ($option eq "identifier") {
-                               my $id = getid (\$value);
+                               my $id = getid ($value);
                                if (!$id)
                                {
                                        print STDERR "Not a valid identifier: \"$value\"\n";