Permalink
Browse files

Add \n to message output.

  • Loading branch information...
sofar committed Oct 9, 2012
1 parent c0fbb33 commit 6354dcaf6865f343a55fa08419fb65185b68d2c8
Showing with 1 addition and 1 deletion.
  1. +1 −1 album-watch.php
View
@@ -37,7 +37,7 @@ function do_file($path, $album, $user)
if (!is_file($t)) {
echo 'ffmpeg -i "' . $path . '" -ss 0 -vframes 1 -f mjpeg -an "' . $t . '.in"' . "\n";
system('ffmpeg -i "' . $path . '" -ss 0 -vframes 1 -f mjpeg -an "' . $t . '.in" > /dev/null 2>&1');
- echo 'convert "jpg:' . $t . '.in" -resize 100x100 "jpg:' . $t . '"';
+ echo 'convert "jpg:' . $t . '.in" -resize 100x100 "jpg:' . $t . '"' . "\n";
system('convert "jpg:' . $t . '.in" -resize 100x100 "jpg:' . $t . '"');
unlink($t . '.in');
}

0 comments on commit 6354dca

Please sign in to comment.