mirror of
https://github.com/He4eT/fuzzy-bitwarden-clipboard.git
synced 2026-05-04 23:07:22 +00:00
Use chmod before the writing
This commit is contained in:
parent
f65bb702c8
commit
6e48342412
1 changed files with 1 additions and 1 deletions
2
bwc
2
bwc
|
|
@ -12,8 +12,8 @@ get_saved_sessionkey () {
|
||||||
|
|
||||||
save_sessionkey () {
|
save_sessionkey () {
|
||||||
local sessionkey=$1
|
local sessionkey=$1
|
||||||
sudo sh -c "echo $sessionkey > $sessionfile"
|
|
||||||
sudo chmod 600 $sessionfile
|
sudo chmod 600 $sessionfile
|
||||||
|
sudo sh -c "echo $sessionkey > $sessionfile"
|
||||||
}
|
}
|
||||||
|
|
||||||
process_item () {
|
process_item () {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue