Skip to content

Commit b8d3c03

Browse files
committed
Do not attempt to create /root/.ssh if it aldready exists
1 parent bbca166 commit b8d3c03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
&& . ./build_rpm.sh \
5050
&& echo "$RPM --> $RPMDIR" \
5151
&& echo "$SRPM --> $SRPMDIR" \
52-
&& mkdir /root/.ssh \
52+
&& mkdir -p /root/.ssh \
5353
&& chmod 700 /root/.ssh \
5454
&& cp id_rsa /root/.ssh \
5555
&& chmod 600 /root/.ssh/id_rsa \

0 commit comments

Comments
 (0)