Skip to content

Commit b65c668

Browse files
committed
host rsync
1 parent 3e2f021 commit b65c668

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/rsyncCli.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ const { exec, execSync } = require("child_process");
44
const validateRsync = (callback = () => {}) => {
55
const rsyncCli = commandExists("rsync");
66
if (rsyncCli) {
7+
console.log('⚠️ [CLI] Rsync exists');
78
const rsyncVersion = execSync("rsync --version", { stdio: 'inherit' });
8-
console.log('⚠️ [CLI] Rsync exists', rsyncVersion);
99
return callback();
1010
}
1111

test/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ARG SSH_PUB_KEY
44

55
RUN apt update
66

7-
RUN apt install openssh-server sudo -y
7+
RUN apt install openssh-server rsync sudo -y
88

99
RUN useradd -rm -d /home/test -s /bin/bash -g root -G sudo -u 1000 test
1010

0 commit comments

Comments
 (0)