mirror of
https://github.com/octoleo/Purse.git
synced 2024-12-29 12:32:39 +00:00
commit
3e94bc0ce8
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
pwd.sh.safe
|
9
pwd.sh
9
pwd.sh
@ -160,8 +160,13 @@ sanity_check () {
|
|||||||
|
|
||||||
sanity_check
|
sanity_check
|
||||||
|
|
||||||
read -n 1 -p "Read, write, or delete password? (r/w/d, default: r) " action
|
if [ -z ${1+x} ]
|
||||||
printf "\n"
|
then
|
||||||
|
read -n 1 -p "Read, write, or delete password? (r/w/d, default: r) " action
|
||||||
|
printf "\n"
|
||||||
|
else
|
||||||
|
action="$1"
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ "${action}" =~ ^([wW])$ ]] ; then
|
if [[ "${action}" =~ ^([wW])$ ]] ; then
|
||||||
create_username && write_pass
|
create_username && write_pass
|
||||||
|
Loading…
Reference in New Issue
Block a user