minor fix error message.

This commit is contained in:
neil 2016-01-24 21:28:44 +08:00
parent 5de1611628
commit de8090f57e
1 changed files with 1 additions and 1 deletions

2
le.sh
View File

@ -947,7 +947,7 @@ install() {
#try install to /bin if is root
if [ ! -f /usr/local/bin/le.sh ] ; then
#if root
if $SUDO cp le.sh /usr/local/bin/le.sh 2>&1 > /dev/null; then
if $SUDO cp le.sh /usr/local/bin/le.sh > /dev/null 2>&1; then
$SUDO chmod 755 /usr/local/bin/le.sh
$SUDO ln -s "/usr/local/bin/le.sh" /usr/local/bin/le
rm -f $WORKING_DIR/le.sh