diff options
-rwxr-xr-x | bin/mqtt-multipub | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/mqtt-multipub b/bin/mqtt-multipub index 9a94b8f..8fa622f 100755 --- a/bin/mqtt-multipub +++ b/bin/mqtt-multipub @@ -32,7 +32,7 @@ for my $arg (@ARGV) { $retain = 1; } elsif ( - $arg =~ m{ ^ (?<topic> [^=]+) = (?<msgtype> . ) = (?<content> .*) $ }x ) + $arg =~ m{ ^ (?<topic> [^=]+) = (?<content> .*) $ }x ) { my $content = parse_content_string( $+{content} ); if ($retain) { |