Merge pull request #42310 from WhyNotHugo/patch-2
Remove needless check
This commit is contained in:
commit
82ba9b47ca
1 changed files with 2 additions and 2 deletions
|
@ -28,8 +28,8 @@ if ! [ -w $XDG_RUNTIME_DIR ]; then
|
||||||
echo "XDG_RUNTIME_DIR needs to be set and writable"
|
echo "XDG_RUNTIME_DIR needs to be set and writable"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
if ! [ -w $HOME ]; then
|
if ! [ -d $HOME ]; then
|
||||||
echo "HOME needs to be set and writable"
|
echo "HOME needs to be set and exist."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue