Fix filebrowser script, Fixes #486

This commit is contained in:
Dave Davenport 2016-10-23 13:49:34 +02:00
parent 0ae0d50bbc
commit 5f1cd75492

View file

@ -53,7 +53,7 @@ if [ ! -d "${ROFI_FB_CUR_DIR}" ]
then
if [ -x "${ROFI_FB_CUR_DIR}" ]
then
coproc ( "${ROFI_FB_CUR_DIR}" & > /dev/null 2>&1 )
coproc ( "${ROFI_FB_CUR_DIR}" > /dev/null 2>&1 )
exec 1>&-
exit;
elif [ -f "${ROFI_FB_CUR_DIR}" ]
@ -70,7 +70,7 @@ then
fi
fi
# Open the selected entry with $ROFI_FB_GENERIC_FO
coproc ( "${ROFI_FB_GENERIC_FO}" "${ROFI_FB_CUR_DIR}" & > /dev/null 2>&1 )
coproc ( "${ROFI_FB_GENERIC_FO}" "${ROFI_FB_CUR_DIR}" > /dev/null 2>&1 )
if [ -d "${ROFI_FB_START_DIR}" ]
then
echo "${ROFI_FB_START_DIR}" > "${ROFI_FB_PREV_LOC_FILE}"