Skip to content

Commit

Permalink
fix check for Alpine Linux (#1826)
Browse files Browse the repository at this point in the history
  • Loading branch information
whummer committed Dec 4, 2019
1 parent aa013bf commit cae27cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion localstack/utils/common.py
Expand Up @@ -637,7 +637,7 @@ def is_linux():

def is_alpine():
try:
if not os.path.exists('cat /etc/issue'):
if not os.path.exists('/etc/issue'):
return False
out = to_str(subprocess.check_output('cat /etc/issue', shell=True))
return 'Alpine' in out
Expand Down

0 comments on commit cae27cf

Please sign in to comment.