Skip to content

Commit ce70604

Browse files
committed
fix codedeploy script
1 parent aab52e4 commit ce70604

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codedeploy/application_start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22

3-
if [ ! -e /opt/micropost/env.sh ]; then
3+
if [ ! -s /opt/micropost/env.sh ]; then
44
echo "This is a newly created instance. Deployment will be done in cloud-init."
55
exit 0
66
fi

0 commit comments

Comments
 (0)