Skip to content

Commit

Permalink
Merge pull request #1633 from ProBackup-nl/patch-22
Browse files Browse the repository at this point in the history
Removed unnessary `cat` plus FIFO and simplified
`command < <( cat /some/file )` to `command < /some/file`
to let `command` get its STDIN directly from a regular file.
  • Loading branch information
jsmeix committed Jan 2, 2018
2 parents 4241391 + 06eba48 commit 0f2f66c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/share/rear/layout/save/GNU/Linux/240_swaps_layout.sh
Expand Up @@ -45,5 +45,5 @@ Log "Saving Swap information."
fi

echo "swap $filename uuid=$uuid label=$label"
done < <(cat /proc/swaps)
done < /proc/swaps
) >> $DISKLAYOUT_FILE

0 comments on commit 0f2f66c

Please sign in to comment.