aboutsummaryrefslogtreecommitdiff
path: root/fake-client.sh
blob: 3c3ca7c37b9d9b26c4e8f7d90ba0a77583679957 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

# SPDX-License-Identifier: CC0-1.0

# Copyright (C) 2022 Wojtek Kosior <koszko@koszko.org>
#
# Available under the terms of Creative Commons Zero v1.0 Universal.

set -e

unshare --map-root-user --mount \
        fake-client-setup-mounts.sh "${SHELL:-/bin/sh}" "$(id -u)"