diff --git a/xs/xs.go b/xs/xs.go index 66f923a..f385bbe 100755 --- a/xs/xs.go +++ b/xs/xs.go @@ -640,7 +640,7 @@ func main() { // Find out what program we are (shell or copier) myPath := strings.Split(os.Args[0], string(os.PathSeparator)) - if myPath[len(myPath)-1] != "hkexcp" && myPath[len(myPath)-1] != "hkexcp.exe" { + if myPath[len(myPath)-1] != "xc" && myPath[len(myPath)-1] != "xc.exe" { // xs accepts a command (-x) but not // a srcpath (-r) or dstpath (-t) flag.StringVar(&cmdStr, "x", "", "run <`command`> (if not specified, run interactive shell)")