summaryrefslogtreecommitdiff
path: root/scripts/epgd-showdones
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/epgd-showdones')
-rwxr-xr-xscripts/epgd-showdones3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/epgd-showdones b/scripts/epgd-showdones
index 86cd7b4..2616dc5 100755
--- a/scripts/epgd-showdones
+++ b/scripts/epgd-showdones
@@ -1,6 +1,7 @@
#!/bin/bash
-export MYSQL_PWD=epg
+MYSQL_PWD=${MYSQL_PWD:-epg}
+export MYSQL_PWD
mysql -u epg2vdr -Depg2vdr -e " \
select from_unixtime(updsp, '%d.%m %H:%m') as upd, id, state as s, substr(title,1,35), shorttext, episodecompname, episodecomppartname, expression from timersdone where state != 'D';"