20 lines
312 B
Python
20 lines
312 B
Python
#!/usr/bin/env python3
|
|
|
|
"""
|
|
Copyright (c) 2014 Wind River Systems, Inc.
|
|
|
|
SPDX-License-Identifier: Apache-2.0
|
|
|
|
"""
|
|
|
|
import sys
|
|
|
|
try:
|
|
from logmgmt import prepostrotate
|
|
except EnvironmentError as e:
|
|
print >> sys.stderr, "Error importing prepostrotate: ", str(e)
|
|
sys.exit(1)
|
|
|
|
prepostrotate.postrotate()
|
|
|