Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LooseSeal2 committed Jul 21, 2019
1 parent 5f7307e commit d468b91
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion menu/pgbox/endbanner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@
# GNU: General Public License v3.0
################################################################################
program=$(cat /tmp/program_var)
cname=$(cat /var/plexguide/$program.cname)
cname=$program

if [[ -f "/var/plexguide/$program.cname" ]]; then
cname=$(cat "/var/plexguide/$program.cname")
fi

domain=$(cat /var/plexguide/server.domain)
port=$(cat /tmp/program_port)
ip=$(cat /var/plexguide/server.ip)
Expand Down

0 comments on commit d468b91

Please sign in to comment.