Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
79d28389
Unverified
Commit
79d28389
authored
Jan 25, 2017
by
Andy Lindeman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Match etcd process name exactly
A process named, e.g., etcd-operator, should not match
parent
0ebedded
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
etcd.sh
hack/lib/etcd.sh
+2
-2
No files found.
hack/lib/etcd.sh
View file @
79d28389
...
@@ -28,8 +28,8 @@ kube::etcd::validate() {
...
@@ -28,8 +28,8 @@ kube::etcd::validate() {
}
}
# validate it is not running
# validate it is not running
if
pgrep etcd
>
/dev/null 2>&1
;
then
if
pgrep
-x
etcd
>
/dev/null 2>&1
;
then
kube::log::usage
"etcd appears to already be running on this machine (
`
pgrep
-l
etcd
`
) (or its a zombie and you need to kill its parent)."
kube::log::usage
"etcd appears to already be running on this machine (
`
pgrep
-
x
l
etcd
`
) (or its a zombie and you need to kill its parent)."
kube::log::usage
"retry after you resolve this etcd error."
kube::log::usage
"retry after you resolve this etcd error."
exit
1
exit
1
fi
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment