commit:     b1509ffcc83d25bf7b379ef55c4e5d8c75a8de8f
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 10 22:28:27 2015 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Thu Dec 10 22:28:27 2015 +0000
URL:        https://gitweb.gentoo.org/proj/eselect-php.git/commit/?id=b1509ffc

Add a missing die() on a call to rm.

 src/php.eselect.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/php.eselect.in b/src/php.eselect.in
index e77b86a..4de770f 100644
--- a/src/php.eselect.in
+++ b/src/php.eselect.in
@@ -29,7 +29,7 @@ cleanup_sapi() {
                        echo ", updated version to $(get_active_$1)"
                        return
                else
-                       rm $link
+                       rm $link || die "failed to remove ${link}"
 
                        return
                fi

Reply via email to