summaryrefslogtreecommitdiff
path: root/src/nslcd_proto/interface_backend.go.sh
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-09-12 10:35:52 -0600
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-09-12 10:35:52 -0600
commite8199ec88c7ca8107c4fb9238e383a4a9eb981ee (patch)
tree250c514c0cb4ec2b8bd442f4e80e916fb8ad6f2c /src/nslcd_proto/interface_backend.go.sh
parentf0302e1ac1a12711a9f49c3d7a62bcdfcaca7eed (diff)
Derp, channels and goroutines are enumerators
Diffstat (limited to 'src/nslcd_proto/interface_backend.go.sh')
-rwxr-xr-xsrc/nslcd_proto/interface_backend.go.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nslcd_proto/interface_backend.go.sh b/src/nslcd_proto/interface_backend.go.sh
index 9e812ee..a5b76a4 100755
--- a/src/nslcd_proto/interface_backend.go.sh
+++ b/src/nslcd_proto/interface_backend.go.sh
@@ -9,7 +9,7 @@ import "syscall"
type Ucred syscall.Ucred
type Backend interface {
- $(sed -rn 's/([^_]+)(.*)/\1\2(Ucred, Request_\1\2) \1_Enumerator/p' "$requests" | grep -v PAM)
- $(sed -rn 's/(PAM)(.*)/\1\2(Ucred, Request_\1\2) \1\2_Enumerator/p' "$requests")
+ $(sed -rn 's/([^_]+)(.*)/\1\2(Ucred, Request_\1\2) <-chan \1/p' "$requests" | grep -v PAM)
+ $(sed -rn 's/(PAM)(.*)/\1\2(Ucred, Request_\1\2) <-chan \1\2/p' "$requests")
}
EOF