Skip to content

Commit

Permalink
Ignore the presence of lost+found in a newly created FS
Browse files Browse the repository at this point in the history
  • Loading branch information
h4wkmoon authored Apr 5, 2019
1 parent 7e0da10 commit 9c888ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/opt/run
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ if [ ! -f "${initfile}" ]; then


# copy rundeck defaults
if [ ! "$(ls -A /etc/rundeck)" ]; then
if [ ! "$(ls -1 /etc/rundeck|grep -v lost+found)" ]; then
cp -R /opt/rundeck-defaults/* /etc/rundeck
chown -R rundeck:rundeck /etc/rundeck
fi
Expand Down

0 comments on commit 9c888ec

Please sign in to comment.