Compare commits
1 Commits
24c56e9387
...
8ff20ee9da
| Author | SHA1 | Date | |
|---|---|---|---|
| 8ff20ee9da |
@@ -940,6 +940,8 @@ EOF"
|
|||||||
|
|
||||||
_vncpassfile="$HOME/.vnc/jrmc_passwd"
|
_vncpassfile="$HOME/.vnc/jrmc_passwd"
|
||||||
|
|
||||||
|
[[ ! -d "${_vncpassfile%/*}" ]] && mkdir -p "${_vncpassfile%/*}"
|
||||||
|
|
||||||
if [[ -f "$_vncpassfile" ]]; then
|
if [[ -f "$_vncpassfile" ]]; then
|
||||||
if [[ -z $_vncpass ]]; then
|
if [[ -z $_vncpass ]]; then
|
||||||
err "Refusing to overwrite existing $_vncpassfile with an empty password"
|
err "Refusing to overwrite existing $_vncpassfile with an empty password"
|
||||||
@@ -972,6 +974,8 @@ EOF"
|
|||||||
|
|
||||||
_vncpassfile="$HOME/.vnc/jrmc_passwd"
|
_vncpassfile="$HOME/.vnc/jrmc_passwd"
|
||||||
|
|
||||||
|
[[ ! -d "${_vncpassfile%/*}" ]] && mkdir -p "${_vncpassfile%/*}"
|
||||||
|
|
||||||
if [[ -f "$_vncpassfile" ]]; then
|
if [[ -f "$_vncpassfile" ]]; then
|
||||||
if [[ -z $_vncpass ]]; then
|
if [[ -z $_vncpass ]]; then
|
||||||
err "Refusing to overwrite existing $_vncpassfile with an empty password"
|
err "Refusing to overwrite existing $_vncpassfile with an empty password"
|
||||||
|
|||||||
Reference in New Issue
Block a user