File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ cd "$(dirname "${sfp}")"
2020fQuit () {
2121 # # change directory back to the original working directory
2222 cd " ${currdir} "
23- [ $1 -eq 0 ] && echo -e " \n$2 " || echo -e " \n$2 " >&2
23+ [ " $1 " -eq 0 ] && echo -e " \n$2 " || echo -e " \n$2 " >&2
2424 exit $1
2525}
2626
@@ -36,7 +36,7 @@ fFF_check() {
3636 # this isn't elegant and might not be future-proof but should at least be compatible with any environment
3737 while [ -e lock ]; do
3838 echo -e " \nThis Firefox profile seems to be in use. Close Firefox and try again.\n" >&2
39- read -p " Press any key to continue."
39+ read -r - p " Press any key to continue."
4040 done
4141}
4242
@@ -48,7 +48,7 @@ fClean() {
4848 if [[ " $line " =~ $prefexp && $prefs != * " @@${BASH_REMATCH[1]} @@" * ]]; then
4949 prefs=" ${prefs}${BASH_REMATCH[1]} @@"
5050 fi
51- done <<< " ` grep -E \ " $prefexp \ " user.js` "
51+ done <<< " $( grep -E " $prefexp " user.js) "
5252
5353 while IFS=' ' read -r line || [[ -n " $line " ]]; do
5454 if [[ " $line " =~ ^$prefexp ]]; then
You can’t perform that action at this time.
0 commit comments