xlockmore/xlock-wrapper
Antonio Teixeira 6f617beb9c - Update to 5.79:
* pyraminx and oct mode extended to size 6 also some hardcoding of size
    removed and fixed some drawing errors.
- Fix builds
  * Remove xlockmore-strict-aliasing.patch
  * Add xlockmore-cast-function-pointers.patch

OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/xlockmore?expand=0&rev=68
2024-09-15 14:00:07 +00:00

18 lines
418 B
Bash

#! /bin/bash
# Copyright (c) 1995-2002 SuSE Linux AG, Nuernberg, Germany.
# All rights reserved.
#
# Author: Tomas Crhak <http://www.suse.de/feedback>
#
# xlock wrapper, that will restart xlock in case it terminates
# unexpectedly (some modes can segfault)
trap '' `seq 1 63`
trap SIGCHLD
/usr/lib/xlock/xlock "$@"
status=$?
test $status -gt 128 -a $status -lt 192 \
&& exec /usr/bin/xlock -mode blank
exit $status