2 # Copyright (C) The Arvados Authors. All rights reserved.
4 # SPDX-License-Identifier: AGPL-3.0
8 # Record what actually happened in the "spy" file
9 echo "$stub $*" >> "$ARVADOS_LOGIN_SYNC_TMPDIR/spy"
11 # Exit 0 if this command was listed in the "succeed" file
12 exec fgrep -qx -- "$stub $*" "$ARVADOS_LOGIN_SYNC_TMPDIR/succeed"