Explorar el Código

fix content mismatch for fake iptables error

Bruce Ma hace 6 años
padre
commit
43b10c99ed
Se han modificado 2 ficheros con 2 adiciones y 1 borrados
  1. 1 0
      .gitignore
  2. 1 1
      iptables/iptables.go

+ 1 - 0
.gitignore

@@ -0,0 +1 @@
+.idea

+ 1 - 1
iptables/iptables.go

@@ -282,7 +282,7 @@ func (ipt *IPTables) executeList(args []string) ([]string, error) {
 		v := 1
 		return nil, &Error{
 			cmd:        exec.Cmd{Args: args},
-			msg:        "iptables: No chain/target/match by that name.",
+			msg:        "iptables: No chain/target/match by that name.\n",
 			exitStatus: &v,
 		}
 	}