diff --git a/install.sh b/install.sh index 0015f23..3b4519d 100644 --- a/install.sh +++ b/install.sh @@ -35,7 +35,7 @@ sudo tar xvzf ${download_file} -C /tmp/ [ $? != 0 ] && die "Unable to extract archive." echo "Moving binary to $bin_target ..." -sudo mv /tmp/webhookd* $bin_target +sudo mv /tmp/webhookd $bin_target [ $? != 0 ] && die "Unable to move binary." echo "Making $bin_target as executable ..."