summaryrefslogtreecommitdiff
path: root/scripts/epgd-showtimer
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/epgd-showtimer')
-rwxr-xr-xscripts/epgd-showtimer3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/epgd-showtimer b/scripts/epgd-showtimer
index 5425caf..207283f 100755
--- a/scripts/epgd-showtimer
+++ b/scripts/epgd-showtimer
@@ -1,6 +1,7 @@
#!/bin/bash
-export MYSQL_PWD=epg
+MYSQL_PWD=${MYSQL_PWD:-epg}
+export MYSQL_PWD
if [ -z $1 ]; then
STATE="(t.state != 'D' or t.state is null)"