Skip to content

Commit 7a7e1c3

Browse files
authored
Merge pull request #341 from github/mgriffin/pserror
Ignore another error from ps
2 parents 322791e + fc2bdb4 commit 7a7e1c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/ghe-backup

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ if [ -f ../in-progress ]; then
6969
progress=$(cat ../in-progress)
7070
snapshot=$(echo "$progress" | cut -d ' ' -f 1)
7171
pid=$(echo "$progress" | cut -d ' ' -f 2)
72-
if ! ps -p $pid -o command= | grep ghe-backup; then
72+
if ! ps -p $pid | grep ghe-backup; then
7373
# We can safely remove in-progress, ghe-prune-snapshots
7474
# will clean up the failed backup.
7575
unlink ../in-progress

0 commit comments

Comments
 (0)