Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix get pid #2117

Merged
merged 2 commits into from
May 18, 2020
Merged

fix get pid #2117

merged 2 commits into from
May 18, 2020

Conversation

laura-ding
Copy link
Contributor

@laura-ding laura-ding commented May 9, 2020

close #2118

@laura-ding laura-ding added the ready-for-testing PR: ready for the CI test label May 9, 2020
@laura-ding laura-ding requested a review from dutor May 9, 2020 03:47
@jude-zhu jude-zhu requested a review from Shylock-Hg May 11, 2020 02:31
Copy link
Contributor

@Shylock-Hg Shylock-Hg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -98,7 +98,7 @@ function wait_for_exit {
# To read a config item's value from the config file
# args: <config file> <config item name>
function get_item_from_config {
sed -n -e "s/--${2}=\(.*\)$/\1/p" ${1} 2>/dev/null
sed -n -e "s/^--${2}=\(.*\)$/\1/p" ${1} 2>/dev/null | sed -n "1p"
Copy link
Contributor

@Shylock-Hg Shylock-Hg May 11, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sed -n -e "s/^--${2}=\(.*\)$/\1/p" ${1} 2>/dev/null | sed -n "1p" | cut -d " " -f1 better.

Copy link
Contributor

@dutor dutor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@monadbobo
Copy link
Contributor

LGTM.

@dutor dutor merged commit 7a0152b into vesoft-inc:master May 18, 2020
tong-hao pushed a commit to tong-hao/nebula that referenced this pull request Jun 1, 2021
Co-authored-by: dutor <440396+dutor@users.noreply.github.com>
yixinglu pushed a commit to yixinglu/nebula that referenced this pull request Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-testing PR: ready for the CI test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Startup script failed to ignore comments
5 participants