Skip to content

Commit 9449914

Browse files
committed
replaced cp with mv on cert adding
1 parent 5ca62de commit 9449914

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/v_add_ssl_certificate

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ is_cert_valid "$V_TMP"
4242
#----------------------------------------------------------#
4343

4444
# Adding certificate to user dir
45-
cp $V_TMP/$cert.crt $V_USERS/$user/cert/
46-
cp $V_TMP/$cert.key $V_USERS/$user/cert/
45+
mv $V_TMP/$cert.crt $V_USERS/$user/cert/
46+
mv $V_TMP/$cert.key $V_USERS/$user/cert/
4747

4848

4949
#----------------------------------------------------------#

0 commit comments

Comments
 (0)