summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/oh-applypatches2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/oh-applypatches b/src/oh-applypatches
index 24438f2..f43dbfb 100644
--- a/src/oh-applypatches
+++ b/src/oh-applypatches
@@ -35,7 +35,7 @@ if [ -d ../patches ]; then
# Iterate over patches ordered alphabetically by name.
for patch in $(ls -1 ../patches | sort); do
printf 'oh-applypatches: Applying patch "%s"...\n' "${patch}"
- patch -N -p 1 -u -d src -i "../patches/${patch}"
+ patch -N -p 1 -u -d src -i "../../patches/${patch}" || exit 1
applied=true
done
fi