Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jan 23, 2019. It is now read-only.

Commit c9f0059

Browse files
Remove get-pidof.sh script
1 parent aa07723 commit c9f0059

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎graceful-shutdown.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ done
1212
# wait for programs to exit
1313
for program in $(echo $programs_list)
1414
do
15-
if get-pidof.sh $program
15+
if pgrep -fo $program
1616
then
17-
pid=$(get-pidof.sh $program)
17+
pid=$(pgrep -fo $program)
1818
while [ -e /proc/$pid ]
1919
do
2020
sleep 0.5

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /