diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2017-01-15 18:25:54 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2017-01-15 18:25:54 +0100 |
commit | ca47fef0061954cda2355cc10dba774d6567051e (patch) | |
tree | ef97c601c3e81846e08f8e941e7c5c3d51160843 /rc | |
parent | e9bf14ecebd1f7b91968b10cec05620dd338ac0f (diff) | |
download | plan9front-ca47fef0061954cda2355cc10dba774d6567051e.tar.xz |
rcpu: use $cpu environment variable for host when not specified
Diffstat (limited to 'rc')
-rwxr-xr-x | rc/bin/rcpu | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rc/bin/rcpu b/rc/bin/rcpu index 01e388ee6..8ea3fcfd6 100755 --- a/rc/bin/rcpu +++ b/rc/bin/rcpu @@ -52,6 +52,7 @@ fn client { cmd=() host='$cpu' +if(~ $#cpu 1) host=$cpu exportfs=/bin/exportfs connect=/bin/rconnect |