mirror of
https://github.com/edu4rdshl/linuxscripts.git
synced 2026-07-17 23:24:52 +00:00
Fix quoting
This commit is contained in:
parent
9b9b42cc96
commit
778cd1ac83
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ elif [ "$1" == "start" ]; then
|
|||
vpn=$(shuf -ezn 1 * | xargs -0 -n1)
|
||||
if [ -f "$vpn" ]; then
|
||||
vpn=$(echo "$vpn" | cut -f1 -d '.')
|
||||
systemctl start openvpn-client@"$vpn"
|
||||
systemctl start "openvpn-client@$vpn"
|
||||
exit
|
||||
else
|
||||
echo "$vpn is not a file."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue