diff options
author | Dave Brolley <brolley@redhat.com> | 2010-01-15 10:57:08 -0500 |
---|---|---|
committer | Dave Brolley <brolley@redhat.com> | 2010-01-15 10:57:08 -0500 |
commit | ceeefadd6874e3d315669a87ec0d05a0ce1f7094 (patch) | |
tree | fad469e3f31212afee4d1fb6aa6833b48e1724b7 /stap-serverd | |
parent | 3f78f0208e1bfe8061d1898418882b5e2756f8a2 (diff) | |
parent | 86f99ad8206574dc6400d48563db58341cb50f52 (diff) | |
download | systemtap-steved-ceeefadd6874e3d315669a87ec0d05a0ce1f7094.tar.gz systemtap-steved-ceeefadd6874e3d315669a87ec0d05a0ce1f7094.tar.xz systemtap-steved-ceeefadd6874e3d315669a87ec0d05a0ce1f7094.zip |
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Conflicts:
stap-client
Diffstat (limited to 'stap-serverd')
-rwxr-xr-x | stap-serverd | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/stap-serverd b/stap-serverd index f3df884d..4d8a10ce 100755 --- a/stap-serverd +++ b/stap-serverd @@ -38,6 +38,8 @@ function initialization { # Parse the arguments parse_options "$@" + echo ===== compile server pid $$ started >> $logfile + # What port will we listen on? test "X$port" = "X" && port=$((1024+$RANDOM%64000)) while netstat -atn | awk '{print $4}' | cut -f2 -d: | egrep -q "^$port\$"; |