Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ mkdir "$TOP/tmp"
# file available.
#
mkdir -p "$TOP/input/cpio"
if [[ ! -f "$TOP/input/cpio/authorized_keys" ]]; then
if [[ ! -f $HOME/.ssh/authorized_keys ]]; then
if [[ ! -s "$TOP/input/cpio/authorized_keys" ]]; then
if [[ ! -s $HOME/.ssh/authorized_keys ]]; then
echo "you have no $HOME/.ssh/authorized_keys file"
echo
echo "populate $TOP/input/cpio/authorized_keys and run again"
Expand Down