Skip to content

Commit

Permalink
Merge pull request #9 from cradle8810/remove_mkramdisk_env
Browse files Browse the repository at this point in the history
Remove unused MKRAMDISK env from ejectRAMDisk.sh
  • Loading branch information
cradle8810 authored Apr 23, 2024
2 parents 2a168e1 + 389bb62 commit 7305fb6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions ejectRAMDisk.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
#!/bin/sh

MKRAMDISK="/Users/hayato/Scripts/mkRAMDisk.sh"
RDIR="/Volumes/RAMDisk"

if [ ! -e "${MKRAMDISK}" ]; then
echo "No mkramdisk found." >&2
exit 1
fi
if [ ! -e "${RDIR}" ]; then
echo "No RAMDisk found." >&2
exit 2
Expand Down

0 comments on commit 7305fb6

Please sign in to comment.