Skip to content

Commit 6072b8b

Browse files
committed
Add -u flag to cp
1 parent e4cc4b7 commit 6072b8b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def handler(event=None, context=None):
88
driver_path = '/tmp/chromedriver'
99
browser_path = '/opt/chrome/chrome'
1010

11-
os.system(f'cp /opt/chromedriver {driver_path}')
11+
os.system(f'cp -u /opt/chromedriver {driver_path}')
1212
os.chmod(driver_path, 0o777)
1313

1414
options = webdriver.ChromeOptions()

0 commit comments

Comments
 (0)