- Timestamp:
- Jul 20, 2016, 10:59:32 PM (10 years ago)
- Branches:
- 0.5, app-cordova, debian/bullseye, debian/jessie, master
- Children:
- 35f6d10
- Parents:
- 7367af2
- File:
-
- 1 edited
-
src/daemon/gnuboat (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/daemon/gnuboat
r7367af2 rc951931 159 159 # check existing shutdown requests 160 160 if shutdownRequested is not None: 161 if (datetime.datetime.now(datetime. timezone.utc) - shutdownRequested) > datetime.timedelta(seconds = 0):161 if (datetime.datetime.now(datetime.datetime.timezone.utc) - shutdownRequested) > datetime.timedelta(seconds = 0): 162 162 os.system("sudo shutdown -h now") 163 163
Note:
See TracChangeset
for help on using the changeset viewer.
