rclcheckneedretry: avoid useless error messages when there is no $HOME
This commit is contained in:
parent
4e8cc666f0
commit
e6596cb26d
@ -17,9 +17,15 @@
|
|||||||
# with retry set).
|
# with retry set).
|
||||||
#
|
#
|
||||||
|
|
||||||
|
# If $HOME does not exist, there is nothing we can do (happens, for example when run as upmpdcli)
|
||||||
|
if test ! -d "$HOME" ; then
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
# Bin dirs to be tested:
|
# Bin dirs to be tested:
|
||||||
bindirs="/usr/bin /usr/local/bin $HOME/bin /opt/*/bin"
|
bindirs="/usr/bin /usr/local/bin $HOME/bin /opt/*/bin"
|
||||||
|
|
||||||
|
|
||||||
rfiledir=$HOME/.config/Recoll.org
|
rfiledir=$HOME/.config/Recoll.org
|
||||||
rfile=$rfiledir/needidxretrydate
|
rfile=$rfiledir/needidxretrydate
|
||||||
nrfile=$rfiledir/tneedidxretrydate
|
nrfile=$rfiledir/tneedidxretrydate
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user