diff options
author | Dave Reisner <d@falconindy.com> | 2010-06-06 20:32:11 -0400 |
---|---|---|
committer | Dave Reisner <d@falconindy.com> | 2010-06-06 20:32:11 -0400 |
commit | e7a3987883d4eba1fb53707393f395e9cd1d97a6 (patch) | |
tree | 20dfe3622b443f336a84411975b396342c802cba /squashfu | |
parent | ca48c8e621954b248ef8c6d2f78761bd991de6fd (diff) | |
download | squashfu-e7a3987883d4eba1fb53707393f395e9cd1d97a6.tar.gz |
use more mountpoint -q, less &>/dev/null
Diffstat (limited to 'squashfu')
-rwxr-xr-x | squashfu | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -211,7 +211,7 @@ action_backup () { info "Backup requested at $(date --rfc-3339=seconds)" # Cleanup union, in case user was doing a rollback and forgot to unmount (or error on last run) - mountpoint "$UNION_MOUNT" &>/dev/null && unmount_union + mountpoint -q "$UNION_MOUNT" && unmount_union info "Creating new bin" # Make a new bin for this incremenetal @@ -222,7 +222,7 @@ action_backup () { # Determine the mount order via binventory local bin_order=($(sort -n -r -t: -k2 "$BINVENTORY" | cut -d: -f1)) - mountpoint "${SQUASH_MOUNT}" &>/dev/null || mount_squash + mountpoint -q "${SQUASH_MOUNT}" || mount_squash mount_union_with_bins ${bin_order[@]} || return 1 # Includes are pulled in directly from config |