diff --git a/scripts/socket/fs.pl b/scripts/socket/fs.pl index a095010abf..e8d356c09d 100644 --- a/scripts/socket/fs.pl +++ b/scripts/socket/fs.pl @@ -34,11 +34,7 @@ while ( defined ($_ = $term->readline($prompt)) ) { my $reply; if ($_) { - if ($_ =~ /^alog|^anolog/) { - $reply = $fs2->cmd($_); - } else { - $reply = $fs->cmd("api $_"); - } + my $reply = $fs->cmd("api $_"); if ($reply->{body}) { print $reply->{body};