Skip to content

Commit

Permalink
Update preuninst
Browse files Browse the repository at this point in the history
fix syntax error
  • Loading branch information
john-shine authored Aug 9, 2020
1 parent 1e730c5 commit 9cb1731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/preuninst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if [ -x "$(command -v docker)" ]; then
docker rm -f $container_id >> "${SYNOPKG_PKGDEST}/package/logs/output.log" 2>&1
fi

if [ ! -z $container_name]; then
if [ ! -z $container_name ]; then
if [ -f "/usr/local/etc/services.d/docker_${container_name}.sc" ]; then
rm -f "/usr/local/etc/services.d/docker_${container_name}.sc"
fi
Expand Down

0 comments on commit 9cb1731

Please sign in to comment.