From bc9a72c21ab78c440be126e424ffd7367467c1e8 Mon Sep 17 00:00:00 2001 From: johannst Date: Mon, 5 Mar 2018 21:41:50 +0100 Subject: added correct return value to non implemented install handlers --- install | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/install b/install index 159b352..935b630 100755 --- a/install +++ b/install @@ -45,7 +45,7 @@ function gdbrcInstaller() { touch $gdbinit grep $gMagicNumber $gdbinit > /dev/null 2>&1 if [[ $? = 0 ]]; then - return + return 1 fi if [ ! -d $gdbdir ]; then mkdir $gdbdir; fi echo -e "\n# $gMagicNumber - Auto generated, do not delete or modify!" >> $gdbinit @@ -57,6 +57,7 @@ function gdbrcInstaller() { function cgdbrcInstaller() { echo "cgdbrcInstaller called" + return 1 } #}}} @@ -64,6 +65,7 @@ function cgdbrcInstaller() { function conkyrcInstaller() { echo "conkyrcInstaller called" + return 1 } #}}} @@ -126,7 +128,7 @@ function vimConfigInstaller() { function xtermConfigInstaller() { echo "xtermConfigInstaller called" - return 0 + return 1 } #}}} -- cgit v1.2.3