summaryrefslogtreecommitdiff
path: root/rc/bin/start
diff options
context:
space:
mode:
Diffstat (limited to 'rc/bin/start')
-rwxr-xr-xrc/bin/start3
1 files changed, 1 insertions, 2 deletions
diff --git a/rc/bin/start b/rc/bin/start
index f8d423c6e..e9913c1cf 100755
--- a/rc/bin/start
+++ b/rc/bin/start
@@ -1,5 +1,4 @@
#!/bin/rc
-U=`{cat /dev/user}
-ps | sed -n '/^'$U' .*Stopped.* '$1'$/s%[^ ]* *%~>/proc/%
+~ $#* 0 || ps | sed -n '/^'$user' .*Stopped.* '$1'$/s%[^ ]* *%~>/proc/%
s% *.*%/ctl%
s%~%echo start%p'