summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xuninit.d/50vcs-uninit2
-rwxr-xr-xupdate-ignore.d/01update-ignore2
2 files changed, 2 insertions, 2 deletions
diff --git a/uninit.d/50vcs-uninit b/uninit.d/50vcs-uninit
index b61abfd..b330f1b 100755
--- a/uninit.d/50vcs-uninit
+++ b/uninit.d/50vcs-uninit
@@ -32,7 +32,7 @@ else
file=$($tempfile)
otherentries=
skipping=
- while read line; do
+ while read -r line; do
if echo "$line" | grep -q "$managed_by_etckeeper"; then
if [ ! "$skipping" ]; then
skipping=1
diff --git a/update-ignore.d/01update-ignore b/update-ignore.d/01update-ignore
index d88ff07..528ff8a 100755
--- a/update-ignore.d/01update-ignore
+++ b/update-ignore.d/01update-ignore
@@ -181,7 +181,7 @@ if [ -e "$file" ]; then
file=$($tempfile)
(
skipping=
- while read line; do
+ while read -r line; do
if echo "$line" | grep -q "$managed_by_etckeeper"; then
if [ ! "$skipping" ]; then
skipping=1