www
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUriel <u@berlinblue.org>2012-09-18 15:29:12 +0200
committerUriel <u@berlinblue.org>2012-09-18 15:29:12 +0200
commitc08b219280fb87f64df7aa356300efefca528401 (patch)
treeb81fe9507ef784333bfb7ad691445d760dfcaa1e
parent58e1ccdcf9671c467e2950001b83cfc17139fb6a (diff)
downloadcgd-c08b219280fb87f64df7aa356300efefca528401.tar.gz
cgd-c08b219280fb87f64df7aa356300efefca528401.tar.xz
cgd-c08b219280fb87f64df7aa356300efefca528401.zip
Doh! Nothing to see here, move along.
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index db92c63..8199b5a 100644
--- a/main.go
+++ b/main.go
@@ -27,7 +27,7 @@ func main() {
// This is a hack to make p9p's rc happier for some unknown reason.
c := *cmd
- if c[0] != "/"[0] {
+ if c[0] != '/' {
c = "./" + c
}