diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-11-18 12:32:12 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-11-18 12:32:12 +0100 |
commit | 9ad64fd8b9a84cb0743f4df93a0aea522462b92e (patch) | |
tree | b82e654acde9693d8dd3ef3e0bb194b67968ddbe | |
parent | c78cf5cd18f0ff990d3b83be372f8a799b05c2f4 (diff) | |
download | impressive-display-9ad64fd8b9a84cb0743f4df93a0aea522462b92e.tar.gz impressive-display-9ad64fd8b9a84cb0743f4df93a0aea522462b92e.tar.bz2 impressive-display-9ad64fd8b9a84cb0743f4df93a0aea522462b92e.zip |
FIXME: handle script startup for cases where no PDF file can be retrieved initially.
-rwxr-xr-x | bin/impressive-display | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/impressive-display b/bin/impressive-display index 294897c..d79a3ab 100755 --- a/bin/impressive-display +++ b/bin/impressive-display @@ -422,6 +422,8 @@ function reloadable_impressive { while [ -e "$session_lock" ]; do + # FIXME: display error msg if no PDF file could be retrieved + $OUTPUT "INFO: Starting a new instance of the impressive application." impressive ${IMPRESSIVE_OPTIONS} --fake-fullscreen --wrap -a ${SLIDE_DURATION} --nologo "${pdffile_display}" 1>/dev/null 2>/dev/null & impressive_pid=$! |