summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmanyplayer2
1 files changed, 1 insertions, 1 deletions
diff --git a/manyplayer b/manyplayer
index bc44da9..618b530 100755
--- a/manyplayer
+++ b/manyplayer
@@ -30,7 +30,7 @@ function play_last_file {
local comm=$(<${MANYPLAYER_DIR}/cmd)
local this=$(<${MANYPLAYER_DIR}/last)
local filename=$(<${MANYPLAYER_DIR}/filename)
- exec ${comm/!/${filename/!/$this}}
+ exec $comm "${filename/!/$this}"
}
function play_next_file {