From f8c4684b6cc77954fc6c57192b594ca25bd16906 Mon Sep 17 00:00:00 2001 From: Todd Willey Date: Fri, 28 Oct 2011 12:27:20 -0400 Subject: [PATCH] Change cp -p to mv. --- stack.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stack.sh b/stack.sh index 9cb7341..cfec6ca 100755 --- a/stack.sh +++ b/stack.sh @@ -139,8 +139,7 @@ else sed -e "s,%USER%,$USER,g" -i $TEMPFILE chmod 0440 $TEMPFILE sudo chown root:root $TEMPFILE - sudo cp -p $TEMPFILE /etc/sudoers.d/stack_sh_nova - sudo rm $TEMPFILE + sudo mv $TEMPFILE /etc/sudoers.d/stack_sh_nova fi # Set the destination directories for openstack projects