mirror of
https://github.com/ION606/VCS.git
synced 2026-05-14 22:16:55 +00:00
bug fixes
This commit is contained in:
@@ -41,6 +41,6 @@ echo "user=$username" >> "$CONF_FILE"
|
||||
chmod 600 "$CONF_FILE"
|
||||
|
||||
# Use rsync with sshpass to copy files with a progress bar
|
||||
echo -n "cloning "
|
||||
echo -n "cloning..."
|
||||
/usr/bin/sshpass -p "$password" rsync -a --info=progress2 --no-i-r -h -e ssh "$REMOTE_PATH" "$DEST_FOLDER" || { echo "failed to clone!"; exit 1; }
|
||||
echo "done!"
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
if [ -f "$HOME/ionsrc/creds.txt" ]; then
|
||||
source "$HOME/ionsrc/creds.txt"
|
||||
echo "logged in as \033[0;31m$username\e[0m!"
|
||||
echo -e "logged in as \033[0;31m$username\e[0m!"
|
||||
else
|
||||
echo "no user found!"
|
||||
fi
|
||||
Reference in New Issue
Block a user