Only ask for logout when applicable
This commit is contained in:
parent
8584eef0ec
commit
3a5a0a5e19
|
@ -49,6 +49,7 @@ begin
|
|||
"Terminal=false" (
|
||||
printf "%s " \
|
||||
"Exec=env" \
|
||||
"VALHALLA_REQUEST_LOGOUT=1" \
|
||||
"CONFIG_NAME=$(echo "$CONFIG_NAME" | string escape)" \
|
||||
"konsole -e fish $(realpath (status filename) | string escape) userConfig"
|
||||
)
|
||||
|
@ -100,7 +101,10 @@ begin
|
|||
end
|
||||
|
||||
echo "rclone was configured successfully!"
|
||||
read -P "Please log out"
|
||||
|
||||
if [ -n "$VALHALLA_REQUEST_LOGOUT" ]
|
||||
read -P "Please log out"
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue