Changeset 7367af2 for src/daemon
- Timestamp:
- Jul 20, 2016, 10:56:58 PM (10 years ago)
- Branches:
- 0.5, app-cordova, debian/bullseye, debian/jessie, master
- Children:
- c951931
- Parents:
- 9160ba0
- File:
-
- 1 edited
-
src/daemon/gnuboat (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/daemon/gnuboat
r9160ba0 r7367af2 159 159 # check existing shutdown requests 160 160 if shutdownRequested is not None: 161 if (datetime.datetime.now( ) - shutdownRequested) > datetime.timedelta(seconds = 0):161 if (datetime.datetime.now(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.
