Skip to content

Commit

Permalink
Merge pull request #2199 from bgurney-rh/symlinkmigratemaint
Browse files Browse the repository at this point in the history
migrate_symlinks: print all filenames and remove individual removes
  • Loading branch information
mulkieran authored Aug 31, 2020
2 parents 08518b9 + 5916e4d commit c229ff5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion developer_tools/stratis_migrate_symlinks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ fi

for i in $(find /stratis)
do
if [ ! -d $i ]
then
echo "Checking file $i..."
fi
if [ -h $i ] && [ -b $i ]
then
devname=$i
Expand Down Expand Up @@ -73,7 +77,6 @@ do
echo "No future link found; sending change event..."
udevadm test --action=change /sys/class/block/$tgtbase 1>/dev/null 2>&1
fi
rm -fv $devname
fi
done

Expand Down

0 comments on commit c229ff5

Please sign in to comment.