We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef88851 commit 8dcb640Copy full SHA for 8dcb640
1 file changed
docker/command.cgi
@@ -12,15 +12,15 @@ our (%in);
12
my $command = $in{'c'};
13
14
my $err;
15
-if ($command == 'start') {
+if ($command eq 'start') {
16
$err = container_command($in{'container'}, 'start');
17
}
18
19
-if ($command == 'stop') {
+if ($command eq 'stop') {
20
$err = container_command($in{'container'}, 'stop');
21
22
23
-if ($command == 'restart') {
+if ($command eq 'restart') {
24
$err = container_command($in{'container'}, 'restart')
25
26
0 commit comments