Change cp -p to mv.

This commit is contained in:
Todd Willey 2011-10-28 12:27:20 -04:00
parent 0a16145a93
commit f8c4684b6c

View file

@ -139,8 +139,7 @@ else
sed -e "s,%USER%,$USER,g" -i $TEMPFILE sed -e "s,%USER%,$USER,g" -i $TEMPFILE
chmod 0440 $TEMPFILE chmod 0440 $TEMPFILE
sudo chown root:root $TEMPFILE sudo chown root:root $TEMPFILE
sudo cp -p $TEMPFILE /etc/sudoers.d/stack_sh_nova sudo mv $TEMPFILE /etc/sudoers.d/stack_sh_nova
sudo rm $TEMPFILE
fi fi
# Set the destination directories for openstack projects # Set the destination directories for openstack projects