Gentoo Archives: gentoo-commits

From: Michael Orlitzky <mjo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/eselect-php:master commit in: src/
Date: Fri, 11 Dec 2015 00:40:37
Message-Id: 1449786507.b1509ffcc83d25bf7b379ef55c4e5d8c75a8de8f.mjo@gentoo
1 commit: b1509ffcc83d25bf7b379ef55c4e5d8c75a8de8f
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 10 22:28:27 2015 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 10 22:28:27 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/eselect-php.git/commit/?id=b1509ffc
7
8 Add a missing die() on a call to rm.
9
10 src/php.eselect.in | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13 diff --git a/src/php.eselect.in b/src/php.eselect.in
14 index e77b86a..4de770f 100644
15 --- a/src/php.eselect.in
16 +++ b/src/php.eselect.in
17 @@ -29,7 +29,7 @@ cleanup_sapi() {
18 echo ", updated version to $(get_active_$1)"
19 return
20 else
21 - rm $link
22 + rm $link || die "failed to remove ${link}"
23
24 return
25 fi