Skip to content

Commit

Permalink
src/winusb: cp_fs_files: silent pushd/popd
Browse files Browse the repository at this point in the history
Signed-off-by: 林博仁 <[email protected]>
  • Loading branch information
brlin-tw committed Jun 5, 2017
1 parent 84d8eac commit 9dab69d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/winusb
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ copy_filesystem_files(){

echo_with_color blue "Copying files from source media..."

pushd "${source_fs_mountpoint}"
pushd "${source_fs_mountpoint}" >/dev/null

local file_list
file_list=$(\
Expand Down Expand Up @@ -836,7 +836,7 @@ copy_filesystem_files(){
echo -en "${percentage}%\r"
done <<< "${file_list}"; unset source_file dest_file source_file_size copied_size percentage percentage

popd
popd >/dev/null

pulse on

Expand Down

0 comments on commit 9dab69d

Please sign in to comment.