xlockmore/xlock-wrapper_xorg6
Martin Pluskal 0acb0a9fc7 - Update to 5.81:
* Fixed life3d mode when running by itself as it would not pick up
    allGliders rules on refresh.
  * Fixed building for CDE for Linux.  In general, for Linux, the build
    now uses -R for linking like BSD.

OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/xlockmore?expand=0&rev=72
2024-12-02 08:46:44 +00:00

18 lines
424 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/X11R6/lib/xlock/xlock "$@"
status=$?
test $status -gt 128 -a $status -lt 192 \
&& exec /usr/bin/xlock -mode blank
exit $status