rtrouton / rtrouton_scripts

Scripts to share
MIT License
1.3k stars 489 forks source link

rtrouton_scripts/enable_and_disable_touch_id_for_sudo/enable_touch_id_auth_for_sudo.sh error on line 42 #101

Closed Lotusshaney closed 10 months ago

Lotusshaney commented 10 months ago

Hi,

I think line 42 is wrong as its not using the variable.

/bin/mv "$touch_id_auth_file" "touch_id_auth_file"_$(date "+%s").bak

maybe should be

/bin/mv "$touch_id_auth_file" "$touch_id_auth_file"_$(date "+%s").bak

rtrouton commented 10 months ago

Thank you for catching that. Now fixed: https://github.com/rtrouton/rtrouton_scripts/blob/main/rtrouton_scripts/enable_and_disable_touch_id_for_sudo/enable_touch_id_auth_for_sudo.sh#L42